projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67075bb
)
mount: support for "-o mand"
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 8 Jul 2008 02:56:53 +0000
(
02:56
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 8 Jul 2008 02:56:53 +0000
(
02:56
-0000)
util-linux/mount.c
patch
|
blob
|
history
diff --git
a/util-linux/mount.c
b/util-linux/mount.c
index f73ad608bc673c21eb3b26afb0c12b6db3ab9e48..2ceabced6d87103f1d9f94f4f403a72b1a667338 100644
(file)
--- 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