aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <griebl@gmx.de>2002-05-14 22:56:29 +0000
committerRobert Griebl <griebl@gmx.de>2002-05-14 22:56:29 +0000
commitaa385d40156d909ef51be4d52fa90b5c24081a88 (patch)
treead7fc19a6025addf0ad09ede503b8453c0170573
parentf63a20ad7baf5471f2691e8347bf243eb5935d86 (diff)
downloadbusybox-w32-aa385d40156d909ef51be4d52fa90b5c24081a88.tar.gz
busybox-w32-aa385d40156d909ef51be4d52fa90b5c24081a88.tar.bz2
busybox-w32-aa385d40156d909ef51be4d52fa90b5c24081a88.zip
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.
-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[] = {
101 {"async", ~MS_SYNCHRONOUS, 0}, 101 {"async", ~MS_SYNCHRONOUS, 0},
102 {"atime", ~0, ~MS_NOATIME}, 102 {"atime", ~0, ~MS_NOATIME},
103 {"defaults", ~0, 0}, 103 {"defaults", ~0, 0},
104 {"noauto", ~0, 0},
104 {"dev", ~MS_NODEV, 0}, 105 {"dev", ~MS_NODEV, 0},
105 {"diratime", ~0, ~MS_NODIRATIME}, 106 {"diratime", ~0, ~MS_NODIRATIME},
106 {"exec", ~MS_NOEXEC, 0}, 107 {"exec", ~MS_NOEXEC, 0},