Write all the help text for the util-linux utilities. Allow

people to locate the mtab file somewhere other that /etc to
accomodate read only root filesystems.
 -Erik
This commit is contained in:
Eric Andersen
2003-02-27 03:14:04 +00:00
parent ee6da5527c
commit a0ac4523b1
2 changed files with 153 additions and 35 deletions

View File

@ -26,7 +26,7 @@
/* Busybox mount uses either /proc/mounts or /etc/mtab to
* get the list of currently mounted filesystems */
#if defined CONFIG_FEATURE_MTAB_SUPPORT
const char mtab_file[] = "/etc/mtab";
const char mtab_file[] = CONFIG_FEATURE_MTAB_FILENAME;
#else
const char mtab_file[] = "/proc/mounts";
#endif