diff options
Diffstat (limited to 'libmount/src/optmap.c')
-rw-r--r-- | libmount/src/optmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmount/src/optmap.c b/libmount/src/optmap.c index 4f11ce598..68217cebe 100644 --- a/libmount/src/optmap.c +++ b/libmount/src/optmap.c @@ -137,6 +137,10 @@ static const struct libmnt_optmap userspace_opts_map[] = { "group", MNT_MS_GROUP, MNT_NOMTAB }, /* Let the group of the device mount */ { "nogroup", MNT_MS_GROUP, MNT_INVERT | MNT_NOMTAB }, /* Device group has no special privs */ + /* + * Note that traditional init scripts assume _netdev option in /etc/mtab to + * umount network block devices on shutdown. + */ { "_netdev", MNT_MS_NETDEV }, /* Device requires network */ { "comment=", MNT_MS_COMMENT, MNT_NOHLPS | MNT_NOMTAB },/* fstab comment only */ |