From c41b71e0665881af5d37228e4797b955dd5d2362 Mon Sep 17 00:00:00 2001 From: corinna Date: Thu, 17 Jul 2008 10:32:03 +0000 Subject: [PATCH] * utils.sgml: Add id's to all examples. --- winsup/utils/utils.sgml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml index 5a48615b75..a016b85a3d 100644 --- a/winsup/utils/utils.sgml +++ b/winsup/utils/utils.sgml @@ -81,7 +81,7 @@ The -f option helps you to track down which package a file came from, and -l lists all files in a package. For example, to find out about /usr/bin/less and its package: -Example <command>cygcheck</command> usage +Example <command>cygcheck</command> usage $ cygcheck -f /usr/bin/less less-381-1 @@ -128,7 +128,7 @@ package listing page. For example, perhaps you are getting an error because you are missing a certain DLL and you want to know which package includes that file: -Searching all packages for a file +Searching all packages for a file $ cygcheck -p 'cygintl-2\.dll' Found 1 matches for 'cygintl-2\.dll'. @@ -270,7 +270,7 @@ contain spaces (C:\Program Files) so should be enclosed in quotes. -Example <command>cygpath</command> usage +Example <command>cygpath</command> usage option, either with a signal number or a signal name (minus the "SIG" part), like these examples: -Using the kill command +Using the kill command $ kill 123 $ kill -1 123 @@ -536,7 +536,7 @@ create a file with the correct format. To initially set up your machine if you are a local user, you'd do something like this: -Setting up the groups file for local accounts +Setting up the groups file for local accounts $ mkdir /etc $ mkgroup -l > /etc/group @@ -610,7 +610,7 @@ if remote access is desired. To initially set up your machine if you are a local user, you'd do something like this: -Setting up the passwd file for local accounts +Setting up the passwd file for local accounts $ mkdir /etc $ mkpasswd -l > /etc/passwd @@ -642,7 +642,7 @@ SIDs, see in the Cygwin User's Guide. The use the specified prefix instead of the account home dir or /home/ . For example, this command: -Using an alternate home root +Using an alternate home root $ mkpasswd -l -p "$(cygpath -H)" > /etc/passwd @@ -689,12 +689,12 @@ done by mount commands on typical UNIX systems. Please see behind the Cygwin POSIX file system and strategies for using mounts. To remove mounts, use umount -Using mount +Using mount If you just type mount with no parameters, it will display the current mount table for you. - + Displaying the current set of mount points c:\cygwin\> mount @@ -718,7 +718,7 @@ demonstrates how to mount the directory \\pollux\home\joe\data to /data. - + Adding mount points c:\cygwin\> ls /data @@ -802,7 +802,7 @@ most of the options are duplicates of other mount flags): -Cygdrive mount points +Cygdrive mount points Whenever Cygwin cannot use any of the existing mounts to convert from a particular Win32 path to a POSIX one, Cygwin will, instead, @@ -815,7 +815,7 @@ can be used to change this default automount prefix through the use of the "--change-cygdrive-prefix" option. In the following example, we will set the automount prefix to /: - + Changing the default prefix c:\cygwin\> mount --change-cygdrive-prefix / @@ -834,7 +834,7 @@ automounted filesystems default to binary mode file accesses. -Limitations +Limitations Limitations: there is a hard-coded limit of 30 mount points. Also, although you can mount to pathnames that do not start -- 2.11.0