Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-04 07:20:22 +0400
committerChristopher Faylor <me@cgf.cx>2003-07-04 07:20:22 +0400
commitbaf77a53b079f6ce9f77f6ccde3e57229720050e (patch)
tree4032840ee7d56a9d839aae7d5fc48b1b1cdf29d8 /winsup/utils
parent08604f02bcbcd954c601cd46f68d45321f3ee164 (diff)
* mount.cc (struct opt): Remove posix option.
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/mount.cc3
-rw-r--r--winsup/utils/utils.sgml17
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,5 +1,9 @@
2003-07-03 Christopher Faylor <cgf@redhat.com>
+ * mount.cc (struct opt): Remove posix option.
+
+2003-07-03 Christopher Faylor <cgf@redhat.com>
+
* mount.cc (longopts): Add long "options" keyword.
(opts): Add -o option.
(usage): Display -o option.
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.
</para>
+<para>
+The <literal>-o</literal> 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):</para>
+
+<screen>
+ 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.
+</screen>
</sect3>
<sect3><title>Cygdrive mount points</title>