diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-08-02 18:48:26 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-08-02 18:48:26 +0000 |
commit | fdd51033480e6d93af274bfd0df25b14aaea6c3b (patch) | |
tree | 06e7faef9293569687b853590742c91e1e36d940 /utility.c | |
parent | 5ae166813f8a6db9784e75c9b3843e1e30a7465f (diff) | |
download | busybox-w32-fdd51033480e6d93af274bfd0df25b14aaea6c3b.tar.gz busybox-w32-fdd51033480e6d93af274bfd0df25b14aaea6c3b.tar.bz2 busybox-w32-fdd51033480e6d93af274bfd0df25b14aaea6c3b.zip |
Merge in two patches from Dave Cinege:
the first is a cleanup of tar --exclude
the second changes mount so mtab works more as it should, and
also allows mount to use the traditional short form (i.e.
'mount / -o remount,rw' now works.
While inside tar, I changed it to use getopt...
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -68,11 +68,11 @@ | |||
68 | 68 | ||
69 | 69 | ||
70 | #if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF | 70 | #if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF |
71 | # if defined BB_FEATURE_USE_PROCFS | 71 | # if defined BB_MTAB |
72 | const char mtab_file[] = "/proc/mounts"; | ||
73 | # else | ||
74 | # if defined BB_MTAB | ||
75 | const char mtab_file[] = "/etc/mtab"; | 72 | const char mtab_file[] = "/etc/mtab"; |
73 | # else | ||
74 | # if defined BB_FEATURE_USE_PROCFS | ||
75 | const char mtab_file[] = "/proc/mounts"; | ||
76 | # else | 76 | # else |
77 | # if defined BB_FEATURE_USE_DEVPS_PATCH | 77 | # if defined BB_FEATURE_USE_DEVPS_PATCH |
78 | const char mtab_file[] = "/dev/mtab"; | 78 | const char mtab_file[] = "/dev/mtab"; |