mount: support for "-o mand"

This commit is contained in:
Denis Vlasenko 2008-07-08 02:56:53 +00:00
parent 67075bb95f
commit 580ce2d138

View File

@ -135,6 +135,8 @@ static const int32_t mount_options[] = {
/* "noatime" */ MS_NOATIME, /* "noatime" */ MS_NOATIME,
/* "diratime" */ ~MS_NODIRATIME, /* "diratime" */ ~MS_NODIRATIME,
/* "nodiratime" */ MS_NODIRATIME, /* "nodiratime" */ MS_NODIRATIME,
/* "mand" */ MS_MANDLOCK,
/* "nomand" */ ~MS_MANDLOCK,
/* "loud" */ ~MS_SILENT, /* "loud" */ ~MS_SILENT,
// action flags // action flags
@ -185,6 +187,8 @@ static const char mount_option_str[] =
"noatime" "\0" "noatime" "\0"
"diratime" "\0" "diratime" "\0"
"nodiratime" "\0" "nodiratime" "\0"
"mand" "\0"
"nomand" "\0"
"loud" "\0" "loud" "\0"
// action flags // action flags