diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-16 23:28:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-16 23:28:42 +0000 |
commit | b1d8e7db0fced98ba2cd049019f8820fd91a0482 (patch) | |
tree | f57502cb47f3036e742e34609a3f485197b3fd73 /include | |
parent | 25591c322c9305bd54d3ab80cfaf01ef87640d77 (diff) | |
download | busybox-w32-b1d8e7db0fced98ba2cd049019f8820fd91a0482.tar.gz busybox-w32-b1d8e7db0fced98ba2cd049019f8820fd91a0482.tar.bz2 busybox-w32-b1d8e7db0fced98ba2cd049019f8820fd91a0482.zip |
mount: make -f work even without mtab support
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 59e57f3a0..04ef1822e 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2449,8 +2449,10 @@ USE_FEATURE_BRCTL_FANCY("\n" \ | |||
2449 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted." \ | 2449 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted." \ |
2450 | "\n\nOptions:\n" \ | 2450 | "\n\nOptions:\n" \ |
2451 | " -a Mount all filesystems in fstab\n" \ | 2451 | " -a Mount all filesystems in fstab\n" \ |
2452 | USE_FEATURE_MOUNT_FAKE( \ | ||
2453 | " -f "USE_FEATURE_MTAB_SUPPORT("Update /etc/mtab, but ")"don't mount\n" \ | ||
2454 | ) \ | ||
2452 | USE_FEATURE_MTAB_SUPPORT( \ | 2455 | USE_FEATURE_MTAB_SUPPORT( \ |
2453 | " -f Update /etc/mtab, but don't mount\n" \ | ||
2454 | " -n Don't update /etc/mtab\n" \ | 2456 | " -n Don't update /etc/mtab\n" \ |
2455 | ) \ | 2457 | ) \ |
2456 | " -r Read-only mount\n" \ | 2458 | " -r Read-only mount\n" \ |