[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH 5/5] mount: don't pass option "nofail" to the kernel
From:       Andreas Oberritter <obi () opendreambox ! org>
Date:       2013-03-20 14:31:27
Message-ID: 1363789887-30252-5-git-send-email-obi () opendreambox ! org
[Download RAW message or body]

Fixes:
| ubifs_parse_options: unrecognized mount option "nofail" or missing value

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 util-linux/mount.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/util-linux/mount.c b/util-linux/mount.c
index 62fd41f..624ca06 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -223,6 +223,7 @@ static const int32_t mount_options[] = {
 		/* "defaults" */ 0,
 		/* "quiet" 0 - do not filter out, vfat wants to see it */
 		/* "noauto" */ MOUNT_NOAUTO,
+		/* "nofail" */ 0,
 		/* "sw"     */ MOUNT_SWAP,
 		/* "swap"   */ MOUNT_SWAP,
 		IF_DESKTOP(/* "user"  */ MOUNT_USERS,)
@@ -282,6 +283,7 @@ static const char mount_option_str[] =
 		"defaults\0"
 		// "quiet\0" - do not filter out, vfat wants to see it
 		"noauto\0"
+		"nofail\0"
 		"sw\0"
 		"swap\0"
 		IF_DESKTOP("user\0")
-- 
1.7.10.4

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic