From b1d8e7db0fced98ba2cd049019f8820fd91a0482 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 16 Feb 2008 23:28:42 +0000 Subject: mount: make -f work even without mtab support (Cristian Ionescu-Idbohrn ) --- util-linux/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'util-linux/Config.in') diff --git a/util-linux/Config.in b/util-linux/Config.in index d1688e8c9..5a47318fe 100644 --- a/util-linux/Config.in +++ b/util-linux/Config.in @@ -386,6 +386,13 @@ config MOUNT NFS filesystems. Most people using BusyBox will also want to enable the 'mount' utility. +config FEATURE_MOUNT_FAKE + bool "mount -f option" + default n + depends on MOUNT + help + Enable support for faking a file system mount. + config FEATURE_MOUNT_HELPERS bool "Support mount helpers" default n @@ -542,6 +549,7 @@ config FEATURE_MTAB_SUPPORT bool "Support for the old /etc/mtab file" default n depends on MOUNT || UMOUNT + select FEATURE_MOUNT_FAKE help Historically, Unix systems kept track of the currently mounted partitions in the file "/etc/mtab". These days, the kernel exports -- cgit v1.2.3