aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-05-14 22:56:29 +0000
committersandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-05-14 22:56:29 +0000
commit62cbe3f9a0d1e1bc174d5fb31518a212bc16cd02 (patch)
treead7fc19a6025addf0ad09ede503b8453c0170573
parenta8462c8fddebadc07a3f6d62fa66702250c7cbf0 (diff)
downloadbusybox-w32-62cbe3f9a0d1e1bc174d5fb31518a212bc16cd02.tar.gz
busybox-w32-62cbe3f9a0d1e1bc174d5fb31518a212bc16cd02.tar.bz2
busybox-w32-62cbe3f9a0d1e1bc174d5fb31518a212bc16cd02.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. git-svn-id: svn://busybox.net/trunk/busybox@4770 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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},