diff options
author | Christopher Faylor <me@cgf.cx> | 2002-05-12 04:29:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-05-12 04:29:54 +0000 |
commit | 48897dfeb90a2c09949c7e9679c3edfbe92a5eec (patch) | |
tree | f1bab3890cf0407c2934191939d7ea017c9bd670 /winsup/utils/utils.sgml | |
parent | 29ee580d07d537ec3f57c7ba1f95488513a81eff (diff) | |
download | cygnal-48897dfeb90a2c09949c7e9679c3edfbe92a5eec.tar.gz cygnal-48897dfeb90a2c09949c7e9679c3edfbe92a5eec.tar.bz2 cygnal-48897dfeb90a2c09949c7e9679c3edfbe92a5eec.zip |
* mount.cc (do_mount): Default to non-exec option for remote drives. Report
warnings before attempting a mount.
(longopts): Add no-executable option.
(mount_commands): Ditto.
(opts): Ditto.
(usage): Ditto. Indicate that system mount is now the default.
(main): Accommodate no-executable option. Make system mount the default.
* umount.cc (usage): Indicate that system umount is now the default.
(main): Make system umount the default.
Diffstat (limited to 'winsup/utils/utils.sgml')
-rw-r--r-- | winsup/utils/utils.sgml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml index 761040430..4d93d0e8f 100644 --- a/winsup/utils/utils.sgml +++ b/winsup/utils/utils.sgml @@ -387,12 +387,14 @@ Usage mount -i, --import-old-mounts copy old registry mount table mounts into the current mount areas -p, --show-cygdrive-prefix show user and/or system cygdrive path prefix - -s, --system add mount point to system-wide registry location + -s, --system (default) add mount point to system-wide registry location -t, --text (default) text files get \r\n line endings - -u, --user (default) add mount point to user registry location + -u, --user add mount point to user registry location -x, --executable treat all files under mount point as executables -X, --cygwin-executable treat all files under mount point as cygwin - executables + executables. Use to speed up file access. + -E, --no-executable don't open files to see if they contain executable + magic. Use to speed up file access. -m, --mount-commands write mount commands to replace user and system mount points and cygdrive prefixes @@ -592,7 +594,7 @@ program.</para> Usage umount [options] <posixpath> -A, --remove-all-mounts remove all mounts -c, --remove-cygdrive-prefix remove cygdrive prefix - -s, --system remove system mount + -s, --system remove system mount (default) -S, --remove-system-mounts remove all system mounts -u, --user remove user mount -U, --remove-user-mounts remove all user mounts |