diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index e2705c484..e9b4607a9 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,8 @@ +2005-05-28 Joshua Daniel Franklin + + * how-using.texinfo : Update the mkdir -p section to reflect + changes in handling network drives. + 2005-05-18 Brian Dessent * install.texinfo ("How do I uninstall..."): Rewrite to cover diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo index 9197c0d5b..96f9ffc4a 100644 --- a/winsup/doc/how-using.texinfo +++ b/winsup/doc/how-using.texinfo @@ -253,24 +253,15 @@ Vinschen for OpenSSH, see this message from the cygwin mailing list: @subsection Why doesn't @samp{mkdir -p} work on a network share? -Unfortunately, you cannot do something like this: +Starting with @samp{coreutils-5.3.0-6} and @samp{cygwin-1.5.17}, you can +do something like this: @example bash$ mkdir -p //MACHINE/Share/path/to/new/dir -mkdir: cannot create directory `//MACHINE': No such file or directory @end example -This is because mkdir checks for the existence of each directory on the -path, creating them as necessary. Since @samp{//MACHINE} is not a -directory (you can't cd to it either), mkdir tries to create it, and -fails. - -This might get fixed someday, but for now, you have to work around it: - -@example -bash$ cd //MACHINE/Share -bash$ mkdir -p path/to/new/dir -@end example +However, coreutils expects Unix path names, so something like +@samp{mkdir -p \\\\machine\\share\\path} will fail. @subsection Why doesn't my shell script work?