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.
This commit is contained in:
Robert Griebl 2002-05-14 22:56:29 +00:00
parent f63a20ad7b
commit aa385d4015

View File

@ -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},