diff options
author | Christopher Faylor <me@cgf.cx> | 2008-12-14 00:14:44 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-12-14 00:14:44 +0300 |
commit | 693862058adb6dd30f641b097957394236d18667 (patch) | |
tree | 374855600098e8e5fbbc8136248ce8c545552748 /winsup/doc | |
parent | 9fe25af7a67193be17ccb58191694f504a805cf0 (diff) |
* pathnames.sgml: Convert some backslashes to slashes.
Diffstat (limited to 'winsup/doc')
-rw-r--r-- | winsup/doc/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <me+cygwin@cgf.cx> + + * pathnames.sgml: Convert some backslashes to slashes. + 2008-12-11 Christian Franke <franke@computer.org> * 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:</para> <title>Displaying the current set of mount points</title> <screen> <prompt>bash-3.2$</prompt> <userinput>mount</userinput> -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) </screen> @@ -184,8 +184,8 @@ information.</para> from a particular Win32 path to a POSIX one, Cygwin will automatically default to an imaginary mount point under the default POSIX path <filename>/cygdrive</filename>. For example, if Cygwin accesses -<filename>Z:\foo</filename> and the Z drive is not currently in the -mount table, then <filename>Z:\</filename> would be automatically +<filename>Z:/foo</filename> and the Z drive is not currently in the +mount table, then <filename>Z:/</filename> would be automatically converted to <filename>/cygdrive/Z</filename>. The default prefix of <filename>/cygdrive</filename> may be changed in the fstab file as outlined above.</para> @@ -201,7 +201,7 @@ translate between Win32 and POSIX pathnames in shell scripts. See <para>The <envar>HOME</envar>, <envar>PATH</envar>, and <envar>LD_LIBRARY_PATH</envar> environment variables are automatically converted from Win32 format to POSIX format (e.g. from -<filename>c:\cygwin\bin</filename> to <filename>/bin</filename>, if +<filename>c:/cygwin\bin</filename> to <filename>/bin</filename>, if there was a mount from that Win32 path to that POSIX path) when a Cygwin process first starts.</para> @@ -479,11 +479,11 @@ does not. In the same situation the function call <filename>filename.exe</filename>. The two files can be distinguished by examining their inodes, as demonstrated below. <screen> -<prompt>C:\></prompt> <userinput>ls * </userinput> +<prompt>C:/></prompt> <userinput>ls * </userinput> a a.exe b.exe -<prompt>C:\></prompt> <userinput>ls -i a a.exe</userinput> +<prompt>C:/></prompt> <userinput>ls -i a a.exe</userinput> 445885548 a 435996602 a.exe -<prompt>C:\></prompt> <userinput>ls -i b b.exe</userinput> +<prompt>C:/></prompt> <userinput>ls -i b b.exe</userinput> 432961010 b 432961010 b.exe </screen> If a shell script <filename>myprog</filename> and a program |