[BusyBox] Patch for util-linux/mount.c
Robert Griebl
griebl at gmx.de
Wed May 8 19:37:03 UTC 2002
Busybox mount ignores fstab entries with "noauto" options correctly when
mounting all ("mount -a"), but fails to mount these entries when mount
directly ("mount /mnt/ramfs" with fstab:
ramfs tmpfs /mnt/ramfs tmpfs noauto 0 0
In these cases the "noauto" option has to be ignored (currently mount says
unsupported options and doesn't mount)
--
cu
Robert
--
Real programmers dont write documentation -
leave that to the maintenance people.
--- mount.c Thu May 9 03:30:40 2002
+++ mount.c.new Thu May 9 03:27:10 2002
@@ -101,6 +101,7 @@
{"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},
More information about the busybox
mailing list