From baf77a53b079f6ce9f77f6ccde3e57229720050e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 4 Jul 2003 03:20:22 +0000 Subject: [PATCH] * mount.cc (struct opt): Remove posix option. --- winsup/utils/ChangeLog | 4 ++++ winsup/utils/mount.cc | 3 +-- winsup/utils/utils.sgml | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 728c64758..f4a3282d4 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2003-07-03 Christopher Faylor + + * mount.cc (struct opt): Remove posix option. + 2003-07-03 Christopher Faylor * mount.cc (longopts): Add long "options" keyword. diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc index 0900ed1eb..0cce584e6 100644 --- a/winsup/utils/mount.cc +++ b/winsup/utils/mount.cc @@ -174,8 +174,7 @@ struct opt {"exec", MOUNT_EXEC, 0}, {"notexec", MOUNT_NOTEXEC, 0}, {"cygexec", MOUNT_CYGWIN_EXEC, 0}, - {"suid", 0, 0}, - {"posix", MOUNT_ENC, 0}, + {"nosuid", 0, 0}, {"managed", MOUNT_ENC, 0} }; diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml index 8aa0fd63f..c3388ef09 100644 --- a/winsup/utils/utils.sgml +++ b/winsup/utils/utils.sgml @@ -648,6 +648,23 @@ mount table. It also makes moving your settings to a different machine much easier. + +The -o option is the method via which various options about +the mount point may be recorded. The following options are available (note that +most of the options are duplicates of other mount flags): + + + user - mount lives user-specific mount + system - mount lives in system table (default) + binary - files default to binary mode (default) + text - files default to CRLF text mode line endings + exec - files below mount point are all executable + notexec - files below mount point are not executable + cygexec - files below mount point are all cygwin executables + nosuid - no suid files are allowed (currently unimplemented) + managed - directory is managed by cygwin. Mixed case and special + characters in filenames are allowed. + Cygdrive mount points