?? eject.1
字號:
.\" This file Copyright (C) 1994-95 Jeff Tranter.\" (Jeff_Tranter@Mitel.COM).\" It may be distributed under the GNU Public License, version 2, or.\" any higher version. See section COPYING of the GNU Public license.\" for conditions under which this file may be redistributed..TH EJECT 1 "16 December 1994" "Linux" "User Commands".SH NAMEeject \- eject CD-ROM disc from drive.SH SYNOPSISeject [-f][-u][-v].breject [-f][-u][-v] <nickname>.breject [-f][-u][-v] <device-name>.breject -d.breject -n.breject -a on|1|off|0 [-v].SH DESCRIPTION.B Ejectallows removable media (usually a CD-ROM) to be ejected under softwarecontrol. The command can also control the auto-eject feature supportedby some devices.If no device is specified, a default device is used. The environmentvariable CDROM can be used to set the default device, otherwise thecompiled in default is used.Other devices can be specified either using the full device name(e.g. /dev/cdrom) or a nickname..PP.SH "COMMAND\-LINE OPTIONS".TP 0.5i.B -fNormally.B ejectwill not eject a device if it has determined that thedevice is being used for a mounted file system. This option overridesthat behaviour, and attempts to force an eject even for a mounteddevice..TP 0.5i.B -uWhen ejecting a mounted device using the -f option, this optioninstructs.B ejectto first try to unmount the device..TP 0.5i.B -vThis makes.ejectrun in verbose mode; more information is displayed about what thecommand is doing..TP 0.5i.B -dIf invoked with this option,.B ejectlists the default device..TP 0.5i.B -nIf this option is used,.B ejectwill list the supported nicknames and corresponding devices..TP 0.5i.B -a on|1|off|0This option controls the auto-eject mode, supported by some devices..SH BUGS/LIMITATIONS.PP.B Ejectonly works with drives that support the CDROMEJECT ioctl..B Ejectmay not always be able to determine if the device is mounted(e.g. if it has several names).If the device name is a symbolic link,.B ejectwill follow the link and use the device that it points to.If the auto-eject feature is enabled, then the drive will always beejected after running this command, even if it is mounted and the -foption is used. Currently only the sbpcd (Panasonic/Matsushita) driversupports the auto-eject mode.The nicknames are set when.B ejectis compiled.There is no way to find out the state of the auto-eject mode.You probably shouldn't be able to eject a mounted disc, but mostkernel drivers allow it.The -u option will only succeed in unmounting if the user hasprivileges to run umount(8), or.B ejectis installed setuid root, and it is not busy..SH AUTHOR.B Ejectwas written by Jeff Tranter (Jeff_Tranter@Mitel.COM) and is releasedunder the conditions of the GNU General Public License. See the fileCOPYING and notes in the source code for details..SH SEE ALSOmount(2), umount(2), mount(8), umount(8).br/usr/src/linux/drivers/block/README.sbpcd.br/usr/src/linux/Documentation/cdrom/sbpcd
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -