Fixes the following error if "auto" is set in fs options: | EXT3-fs (sda1): error: unrecognized mount option "auto" or missing value | EXT4-fs (sda1): Unrecognized mount option "auto" or missing value | XFS (sda1): unknown mount option [auto].
Signed-off-by: Andreas Oberritter <[email protected]> --- Applies on top of "mount: don't pass option "nofail" to the kernel" util-linux/mount.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util-linux/mount.c b/util-linux/mount.c index 624ca06..bc26119 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -222,6 +222,7 @@ static const int32_t mount_options[] = { IF_FEATURE_MOUNT_FSTAB( /* "defaults" */ 0, /* "quiet" 0 - do not filter out, vfat wants to see it */ + /* "auto" */ 0, /* "noauto" */ MOUNT_NOAUTO, /* "nofail" */ 0, /* "sw" */ MOUNT_SWAP, @@ -282,6 +283,7 @@ static const char mount_option_str[] = IF_FEATURE_MOUNT_FSTAB( "defaults\0" // "quiet\0" - do not filter out, vfat wants to see it + "auto\0" "noauto\0" "nofail\0" "sw\0" -- 1.7.10.4 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
