diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-12-05 07:24:08 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-12-05 07:24:08 +0000 |
commit | deca106b6dad70ad0a1312a82d762aa8d8ad52ba (patch) | |
tree | f11db23c430298ac9da2f3de80ec6c86cc75be70 /libbb/mtab_file.c | |
parent | 6f9b45b9eff22c664b93ace82d20669340a762f8 (diff) | |
download | busybox-w32-deca106b6dad70ad0a1312a82d762aa8d8ad52ba.tar.gz busybox-w32-deca106b6dad70ad0a1312a82d762aa8d8ad52ba.tar.bz2 busybox-w32-deca106b6dad70ad0a1312a82d762aa8d8ad52ba.zip |
Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm not
maintaining it anymore, and it is now terribly out of date.
-Erik
Diffstat (limited to 'libbb/mtab_file.c')
-rw-r--r-- | libbb/mtab_file.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libbb/mtab_file.c b/libbb/mtab_file.c index 267a13720..3d5729026 100644 --- a/libbb/mtab_file.c +++ b/libbb/mtab_file.c | |||
@@ -23,16 +23,12 @@ | |||
23 | #include "libbb.h" | 23 | #include "libbb.h" |
24 | 24 | ||
25 | 25 | ||
26 | /* Busybox mount uses either /proc/mounts or /dev/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[] = "/etc/mtab"; |
30 | #else | 30 | #else |
31 | # if defined CONFIG_FEATURE_USE_DEVPS_PATCH | 31 | const char mtab_file[] = "/proc/mounts"; |
32 | const char mtab_file[] = "/dev/mtab"; | ||
33 | # else | ||
34 | const char mtab_file[] = "/proc/mounts"; | ||
35 | # endif | ||
36 | #endif | 32 | #endif |
37 | 33 | ||
38 | 34 | ||