[Patch]: mkdir -p and network drives
Eric Blake
ebb9@byu.net
Fri May 13 14:51:00 GMT 2005
> 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
More information about the Cygwin-patches
mailing list