diff options
author | Joshua Daniel Franklin <joshuadfranklin@yahoo.com> | 2005-05-28 20:35:58 +0000 |
---|---|---|
committer | Joshua Daniel Franklin <joshuadfranklin@yahoo.com> | 2005-05-28 20:35:58 +0000 |
commit | 73162dcdd0e2bb323ce93fd58e28044434eadc5e (patch) | |
tree | 2e0f8d03b8de12cd0f0acaf869e2d6532d8eaa10 /winsup/doc/how-using.texinfo | |
parent | 50cc47a3a522d4c95bd33cf66d12d944e316e1e2 (diff) | |
download | newlib-73162dcdd0e2bb323ce93fd58e28044434eadc5e.zip newlib-73162dcdd0e2bb323ce93fd58e28044434eadc5e.tar.gz newlib-73162dcdd0e2bb323ce93fd58e28044434eadc5e.tar.bz2 |
* how-using.texinfo : Update the mkdir -p section
Diffstat (limited to 'winsup/doc/how-using.texinfo')
-rw-r--r-- | winsup/doc/how-using.texinfo | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo index 9197c0d..96f9ffc 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? |