Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorJoshua Daniel Franklin <joshuadfranklin@yahoo.com>2005-05-29 00:35:58 +0400
committerJoshua Daniel Franklin <joshuadfranklin@yahoo.com>2005-05-29 00:35:58 +0400
commit73162dcdd0e2bb323ce93fd58e28044434eadc5e (patch)
tree2e0f8d03b8de12cd0f0acaf869e2d6532d8eaa10 /winsup
parent50cc47a3a522d4c95bd33cf66d12d944e316e1e2 (diff)
* how-using.texinfo : Update the mkdir -p section
Diffstat (limited to 'winsup')
-rw-r--r--winsup/doc/ChangeLog5
-rw-r--r--winsup/doc/how-using.texinfo17
2 files changed, 9 insertions, 13 deletions
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 <joshuadfranklin@yahoo.com>
+
+ * how-using.texinfo : Update the mkdir -p section to reflect
+ changes in handling network drives.
+
2005-05-18 Brian Dessent <brian@dessent.net>
* 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?