1 From 7c462943dd3c283314e68e945d544dfbaaa4cb25 Mon Sep 17 00:00:00 2001
2 From: Andreas Oberritter <obi@opendreambox.org>
3 Date: Mon, 22 Apr 2013 10:40:36 +0200
4 Subject: [PATCH 11/11] mount: don't pass option "auto" to kernel
6 Fixes the following error if "auto" is set in fs options:
7 | EXT3-fs (sda1): error: unrecognized mount option "auto" or missing value
8 | EXT4-fs (sda1): Unrecognized mount option "auto" or missing value
9 | XFS (sda1): unknown mount option [auto].
11 Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 util-linux/mount.c | 2 ++
14 1 file changed, 2 insertions(+)
16 diff --git a/util-linux/mount.c b/util-linux/mount.c
17 index 05e532c..670935d 100644
18 --- a/util-linux/mount.c
19 +++ b/util-linux/mount.c
20 @@ -212,6 +212,7 @@ static const int32_t mount_options[] = {
21 IF_FEATURE_MOUNT_FSTAB(
23 /* "quiet" 0 - do not filter out, vfat wants to see it */
25 /* "noauto" */ MOUNT_NOAUTO,
26 /* "sw" */ MOUNT_SWAP,
27 /* "swap" */ MOUNT_SWAP,
28 @@ -269,6 +270,7 @@ static const char mount_option_str[] =
29 IF_FEATURE_MOUNT_FSTAB(
31 // "quiet\0" - do not filter out, vfat wants to see it