summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorRobert Griebl2002-05-14 22:56:29 +0000
committerRobert Griebl2002-05-14 22:56:29 +0000
commitaa385d40156d909ef51be4d52fa90b5c24081a88 (patch)
treead7fc19a6025addf0ad09ede503b8453c0170573 /util-linux
parentf63a20ad7baf5471f2691e8347bf243eb5935d86 (diff)
downloadbusybox-aa385d40156d909ef51be4d52fa90b5c24081a88.zip
busybox-aa385d40156d909ef51be4d52fa90b5c24081a88.tar.gz
Entries with "noauto" options are ignored correctly when mounting all
("mount -a"), but mount fails when these entries are specified explicitly In these cases the "noauto" option has to be simply ignored.
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 7933566..d58eeca 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -101,6 +101,7 @@ static const struct mount_options mount_options[] = {
{"async", ~MS_SYNCHRONOUS, 0},
{"atime", ~0, ~MS_NOATIME},
{"defaults", ~0, 0},
+ {"noauto", ~0, 0},
{"dev", ~MS_NODEV, 0},
{"diratime", ~0, ~MS_NODIRATIME},
{"exec", ~MS_NOEXEC, 0},