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
This commit is contained in:
@@ -68,11 +68,11 @@
|
||||
|
||||
|
||||
#if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF
|
||||
# if defined BB_FEATURE_USE_PROCFS
|
||||
const char mtab_file[] = "/proc/mounts";
|
||||
# else
|
||||
# if defined BB_MTAB
|
||||
# if defined BB_MTAB
|
||||
const char mtab_file[] = "/etc/mtab";
|
||||
# else
|
||||
# if defined BB_FEATURE_USE_PROCFS
|
||||
const char mtab_file[] = "/proc/mounts";
|
||||
# else
|
||||
# if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||
const char mtab_file[] = "/dev/mtab";
|
||||
|
||||
Reference in New Issue
Block a user