aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-08 02:56:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-08 02:56:53 +0000
commit580ce2d1388c498b56ba4b5f4a9e6c42c9f3cda0 (patch)
tree58b5edd8362f2d548ad6560e05889b71e68c263d
parent67075bb95f23233c49628a624cc6ba86c3462dcb (diff)
downloadbusybox-w32-580ce2d1388c498b56ba4b5f4a9e6c42c9f3cda0.tar.gz
busybox-w32-580ce2d1388c498b56ba4b5f4a9e6c42c9f3cda0.tar.bz2
busybox-w32-580ce2d1388c498b56ba4b5f4a9e6c42c9f3cda0.zip
mount: support for "-o mand"
-rw-r--r--util-linux/mount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index f73ad608b..2ceabced6 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -135,6 +135,8 @@ static const int32_t mount_options[] = {
135 /* "noatime" */ MS_NOATIME, 135 /* "noatime" */ MS_NOATIME,
136 /* "diratime" */ ~MS_NODIRATIME, 136 /* "diratime" */ ~MS_NODIRATIME,
137 /* "nodiratime" */ MS_NODIRATIME, 137 /* "nodiratime" */ MS_NODIRATIME,
138 /* "mand" */ MS_MANDLOCK,
139 /* "nomand" */ ~MS_MANDLOCK,
138 /* "loud" */ ~MS_SILENT, 140 /* "loud" */ ~MS_SILENT,
139 141
140 // action flags 142 // action flags
@@ -185,6 +187,8 @@ static const char mount_option_str[] =
185 "noatime" "\0" 187 "noatime" "\0"
186 "diratime" "\0" 188 "diratime" "\0"
187 "nodiratime" "\0" 189 "nodiratime" "\0"
190 "mand" "\0"
191 "nomand" "\0"
188 "loud" "\0" 192 "loud" "\0"
189 193
190 // action flags 194 // action flags