diff options
author | David Starks-Browning <starksb@ebi.ac.uk> | 2000-11-16 15:08:35 +0000 |
---|---|---|
committer | David Starks-Browning <starksb@ebi.ac.uk> | 2000-11-16 15:08:35 +0000 |
commit | cb06d7468a6618bfe07bf2aea86b698eeace8ef4 (patch) | |
tree | 3ecb7169cd7c0b9b7213d0fee00f5c97e005387f /winsup | |
parent | eb79d041f8945b883a57c664fe9ecd5f70a52765 (diff) | |
download | newlib-cb06d7468a6618bfe07bf2aea86b698eeace8ef4.zip newlib-cb06d7468a6618bfe07bf2aea86b698eeace8ef4.tar.gz newlib-cb06d7468a6618bfe07bf2aea86b698eeace8ef4.tar.bz2 |
New entry "Why doesn't mkdir -p work on a network share?"
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/doc/how-using.texinfo | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo index a2f7861..3fbbc46 100644 --- a/winsup/doc/how-using.texinfo +++ b/winsup/doc/how-using.texinfo @@ -119,6 +119,27 @@ Cygwin User's Guide at @file{http://sources.redhat.com/cygwin/cygwin-ug-net/cygwin-ug-net.html} for more information on this variable and its settings. +@subsection Why doesn't @samp{mkdir -p} work on a network share? + +Unfortunately, you cannot 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 + @subsection Why don't cursor keys work under Win95/Win98? @strong{(Please note: This section has not yet been updated for the latest |