This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: mkdir -p and network drives


> I added read-only filesystem checking to path_conv::check so the latest
> snapshot seems to work fine with the latest coreutils (trixie is a
> system in my home network which exports shares):

Almost.  With the 20050513 snapshot and coreutils-5.3.0-6, I am still getting:

$ cd //eblake/share
$ ls
$ mkdir //eblake/share/dir
$ ls
dir  share

So you solved the mkdir("//server"), but not the mkdir("//server/share"), from 
creating a subdirectory in the most recent non-virtual current directory.

> The "rmdir //" should really say "directory not empty" but that's a fix
> for another day.

Why change it? POSIX specifies EROFS if the directory to be removed is on a 
read-only filesystem, which sounds like the right error for rmdir("//") to me.

--
Eric Blake




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]