summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-29 09:31:09 +0000
committerDenis Vlasenko2008-01-29 09:31:09 +0000
commit8c638cbf09363388fd9e523d46ee412425754a6a (patch)
tree70fb357d3e954f2bccbb33708dbccd8d03d34031
parentc96d37050f40b8d9d5a10cb4dd21da36d3c455f0 (diff)
downloadbusybox-8c638cbf09363388fd9e523d46ee412425754a6a.zip
busybox-8c638cbf09363388fd9e523d46ee412425754a6a.tar.gz
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 a10d28d..0b440ef 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -81,6 +81,7 @@ static const int32_t mount_options[] = {
/* "swap" */ MOUNT_SWAP,
USE_DESKTOP(/* "user" */ MOUNT_USERS,)
USE_DESKTOP(/* "users" */ MOUNT_USERS,)
+ /* "_netdev" */ 0,
)
USE_FEATURE_MOUNT_FLAGS(
@@ -130,6 +131,7 @@ static const char mount_option_str[] =
"swap" "\0"
USE_DESKTOP("user" "\0")
USE_DESKTOP("users" "\0")
+ "_netdev" "\0"
)
USE_FEATURE_MOUNT_FLAGS(
// vfs flags