summaryrefslogtreecommitdiffhomepage
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)
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[] = {
/* "noatime" */ MS_NOATIME,
/* "diratime" */ ~MS_NODIRATIME,
/* "nodiratime" */ MS_NODIRATIME,
+ /* "mand" */ MS_MANDLOCK,
+ /* "nomand" */ ~MS_MANDLOCK,
/* "loud" */ ~MS_SILENT,
// action flags
@@ -185,6 +187,8 @@ static const char mount_option_str[] =
"noatime" "\0"
"diratime" "\0"
"nodiratime" "\0"
+ "mand" "\0"
+ "nomand" "\0"
"loud" "\0"
// action flags