Add automatic umount support to eject command. Patch from Tito,
with tweaks from Mike Frysinger and Rob Landley. Note: this will still fail to umount a path that contains an ' or \ character. Is it worth the extra size to filter for that?
This commit is contained in:
@@ -89,13 +89,6 @@ config CONFIG_EJECT
|
||||
help
|
||||
Used to eject cdroms. (defaults to /dev/cdrom)
|
||||
|
||||
config CONFIG_FEATURE_EJECT_LONG_OPTIONS
|
||||
bool " Enable support for --trayclose long option (-t)"
|
||||
default n
|
||||
depends on CONFIG_EJECT
|
||||
help
|
||||
Enable use of long options (like --trayclose for -t).
|
||||
|
||||
config CONFIG_LAST
|
||||
bool "last"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user