mount: support for "-o mand"
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 8 Jul 2008 02:56:53 +0000 (02:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 8 Jul 2008 02:56:53 +0000 (02:56 -0000)
util-linux/mount.c

index f73ad608bc673c21eb3b26afb0c12b6db3ab9e48..2ceabced6d87103f1d9f94f4f403a72b1a667338 100644 (file)
@@ -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