mount: make -f work even without mtab support

(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
This commit is contained in:
Denis Vlasenko
2008-02-16 23:28:42 +00:00
parent 25591c322c
commit b1d8e7db0f
4 changed files with 46 additions and 21 deletions

View File

@@ -2449,8 +2449,10 @@ USE_FEATURE_BRCTL_FANCY("\n" \
"Mount a filesystem. Filesystem autodetection requires /proc be mounted." \
"\n\nOptions:\n" \
" -a Mount all filesystems in fstab\n" \
USE_FEATURE_MOUNT_FAKE( \
" -f "USE_FEATURE_MTAB_SUPPORT("Update /etc/mtab, but ")"don't mount\n" \
) \
USE_FEATURE_MTAB_SUPPORT( \
" -f Update /etc/mtab, but don't mount\n" \
" -n Don't update /etc/mtab\n" \
) \
" -r Read-only mount\n" \