Fix umount so it works if there's no /etc/mtab or /proc/mounts, make

umount -a into a CONFIG_FEATURE (why not?), and zap the now obsolete
defconfig file (which was supposed to be part of the previous checkin).
This commit is contained in:
Rob Landley
2006-02-08 20:06:57 +00:00
parent 1ab4c3dc25
commit cc6d8d30ec
3 changed files with 34 additions and 449 deletions

View File

@ -393,6 +393,13 @@ config CONFIG_UMOUNT
the tool to use. If you enabled the 'mount' utility, you almost certainly
also want to enable 'umount'.
config CONFIG_FEATURE_UMOUNT_ALL
bool " umount -a option"
default n
depends on CONFIG_UMOUNT
help
Support -a option to unmount all currently mounted filesystems.
comment "Common options for mount/umount"
depends on CONFIG_MOUNT || CONFIG_UMOUNT