diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-02-27 03:14:04 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-02-27 03:14:04 +0000 |
commit | a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b (patch) | |
tree | 5fb61747545ebe080102f4cd2aeb9a0d5439edd8 /libbb | |
parent | ee6da5527c982b40aef002616bf7d401ee2d434a (diff) | |
download | busybox-w32-a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b.tar.gz busybox-w32-a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b.tar.bz2 busybox-w32-a0ac4523b1ebceff60ced8c7d079caf0ffc0db8b.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
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/mtab_file.c | 2 |
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 |
29 | const char mtab_file[] = "/etc/mtab"; | 29 | const char mtab_file[] = CONFIG_FEATURE_MTAB_FILENAME; |
30 | #else | 30 | #else |
31 | const char mtab_file[] = "/proc/mounts"; | 31 | const char mtab_file[] = "/proc/mounts"; |
32 | #endif | 32 | #endif |