From 693862058adb6dd30f641b097957394236d18667 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 13 Dec 2008 21:14:44 +0000 Subject: [PATCH] * pathnames.sgml: Convert some backslashes to slashes. --- winsup/doc/ChangeLog | 4 ++++ winsup/doc/pathnames.sgml | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 080b75089..ee956bd19 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +2008-12-13 Christopher Faylor + + * pathnames.sgml: Convert some backslashes to slashes. + 2008-12-11 Christian Franke * pathnames.sgml: New section for /proc/registry. Document registry diff --git a/winsup/doc/pathnames.sgml b/winsup/doc/pathnames.sgml index f501606b8..d6f65921f 100644 --- a/winsup/doc/pathnames.sgml +++ b/winsup/doc/pathnames.sgml @@ -164,10 +164,10 @@ arguments: Displaying the current set of mount points bash-3.2$ mount -f:\cygwin\bin on /usr/bin type system (binmode) -f:\cygwin\lib on /usr/lib type system (binmode) -f:\cygwin on / type system (binmode) -e:\src on /usr/src type system (binmode) +f:/cygwin/bin on /usr/bin type system (binmode) +f:/cygwin/lib on /usr/lib type system (binmode) +f:/cygwin on / type system (binmode) +e:/src on /usr/src type system (binmode) c: on /cygdrive/c type user (binmode,noumount) e: on /cygdrive/e type user (binmode,noumount) @@ -184,8 +184,8 @@ information. from a particular Win32 path to a POSIX one, Cygwin will automatically default to an imaginary mount point under the default POSIX path /cygdrive. For example, if Cygwin accesses -Z:\foo and the Z drive is not currently in the -mount table, then Z:\ would be automatically +Z:/foo and the Z drive is not currently in the +mount table, then Z:/ would be automatically converted to /cygdrive/Z. The default prefix of /cygdrive may be changed in the fstab file as outlined above. @@ -201,7 +201,7 @@ translate between Win32 and POSIX pathnames in shell scripts. See The HOME, PATH, and LD_LIBRARY_PATH environment variables are automatically converted from Win32 format to POSIX format (e.g. from -c:\cygwin\bin to /bin, if +c:/cygwin\bin to /bin, if there was a mount from that Win32 path to that POSIX path) when a Cygwin process first starts. @@ -479,11 +479,11 @@ does not. In the same situation the function call filename.exe. The two files can be distinguished by examining their inodes, as demonstrated below. -C:\> ls * +C:/> ls * a a.exe b.exe -C:\> ls -i a a.exe +C:/> ls -i a a.exe 445885548 a 435996602 a.exe -C:\> ls -i b b.exe +C:/> ls -i b b.exe 432961010 b 432961010 b.exe If a shell script myprog and a program