[BusyBox] [PATCH] fix compilation of libbb/mtab_file.c
Bernhard Fischer
rep.nop at aon.at
Sun Jul 3 18:00:15 UTC 2005
Hi,
- fix compilation of libbb/mtab_file.c when CONFIG_FEATURE_MTAB_SUPPORT
is set.
CONFIG_FEATURE_MTAB_FILENAME was undefined, so add the proper config
option to let the user specify the location of the mount tab.
Thank you,
Bernhard
-------------- next part --------------
Index: util-linux/Config.in
===================================================================
--- util-linux/Config.in (revision 10709)
+++ util-linux/Config.in (working copy)
@@ -364,6 +364,13 @@ config CONFIG_FEATURE_MTAB_SUPPORT
be a symlink to /proc/mounts, since otherwise mtab can get out of sync
with the real kernel mount state in numerous ways.
+config CONFIG_FEATURE_MTAB_FILENAME
+ string " File to use as mtab"
+ default "/etc/mtab"
+ depends on CONFIG_FEATURE_MTAB_SUPPORT
+ help
+ Use given file as mtab.
+
config CONFIG_READPROFILE
bool "readprofile"
default n
More information about the busybox
mailing list