aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-02-27 03:14:04 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-02-27 03:14:04 +0000
commitaab4ba8d7c95bf24174828c6e3f71b1c2117deff (patch)
tree5fb61747545ebe080102f4cd2aeb9a0d5439edd8 /libbb
parent4b7fd2f66ee522468786b56422c50473f44f9313 (diff)
downloadbusybox-w32-aab4ba8d7c95bf24174828c6e3f71b1c2117deff.tar.gz
busybox-w32-aab4ba8d7c95bf24174828c6e3f71b1c2117deff.tar.bz2
busybox-w32-aab4ba8d7c95bf24174828c6e3f71b1c2117deff.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@6643 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/mtab_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c
index 3d5729026..2124e0144 100644
--- a/libbb/mtab_file.c
+++ b/libbb/mtab_file.c
@@ -26,7 +26,7 @@
26/* Busybox mount uses either /proc/mounts or /etc/mtab to 26/* Busybox mount uses either /proc/mounts or /etc/mtab to
27 * get the list of currently mounted filesystems */ 27 * get the list of currently mounted filesystems */
28#if defined CONFIG_FEATURE_MTAB_SUPPORT 28#if defined CONFIG_FEATURE_MTAB_SUPPORT
29const char mtab_file[] = "/etc/mtab"; 29const char mtab_file[] = CONFIG_FEATURE_MTAB_FILENAME;
30#else 30#else
31const char mtab_file[] = "/proc/mounts"; 31const char mtab_file[] = "/proc/mounts";
32#endif 32#endif