aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-01-29 09:31:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-01-29 09:31:09 +0000
commit8c638cbf09363388fd9e523d46ee412425754a6a (patch)
tree70fb357d3e954f2bccbb33708dbccd8d03d34031
parentc96d37050f40b8d9d5a10cb4dd21da36d3c455f0 (diff)
downloadbusybox-w32-8c638cbf09363388fd9e523d46ee412425754a6a.tar.gz
busybox-w32-8c638cbf09363388fd9e523d46ee412425754a6a.tar.bz2
busybox-w32-8c638cbf09363388fd9e523d46ee412425754a6a.zip
mount: allow and ignore _netdev option
-rw-r--r--util-linux/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index a10d28d7c..0b440ef16 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -81,6 +81,7 @@ static const int32_t mount_options[] = {
81 /* "swap" */ MOUNT_SWAP, 81 /* "swap" */ MOUNT_SWAP,
82 USE_DESKTOP(/* "user" */ MOUNT_USERS,) 82 USE_DESKTOP(/* "user" */ MOUNT_USERS,)
83 USE_DESKTOP(/* "users" */ MOUNT_USERS,) 83 USE_DESKTOP(/* "users" */ MOUNT_USERS,)
84 /* "_netdev" */ 0,
84 ) 85 )
85 86
86 USE_FEATURE_MOUNT_FLAGS( 87 USE_FEATURE_MOUNT_FLAGS(
@@ -130,6 +131,7 @@ static const char mount_option_str[] =
130 "swap" "\0" 131 "swap" "\0"
131 USE_DESKTOP("user" "\0") 132 USE_DESKTOP("user" "\0")
132 USE_DESKTOP("users" "\0") 133 USE_DESKTOP("users" "\0")
134 "_netdev" "\0"
133 ) 135 )
134 USE_FEATURE_MOUNT_FLAGS( 136 USE_FEATURE_MOUNT_FLAGS(
135 // vfs flags 137 // vfs flags