Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <griebl@gmx.de>2002-05-15 02:56:29 +0400
committerRobert Griebl <griebl@gmx.de>2002-05-15 02:56:29 +0400
commitaa385d40156d909ef51be4d52fa90b5c24081a88 (patch)
treead7fc19a6025addf0ad09ede503b8453c0170573 /util-linux
parentf63a20ad7baf5471f2691e8347bf243eb5935d86 (diff)
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 79335669d..d58eecaeb 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},