Linux eject命令

Linux 教程 · 2019-02-14 22:58:10

Linux eject命令用于退出抽取式设备。

若设备已挂入,则eject会先将该设备卸除再退出。

语法

eject [-dfhnqrstv][-a <开关>][-c <光驱编号>][设备]

参数说明

  • [设备] 设备可以是驱动程序名称,也可以是挂入点。
  • -a<开关>或--auto<开关> 控制设备的自动退出功能。
  • -c<光驱编号>或--changerslut<光驱编号> 选择光驱柜中的光驱。
  • -d或--default 显示预设的设备,而不是实际执行动作。
  • -f或--floppy 退出抽取式磁盘。
  • -h或--help 显示帮助。
  • -n或--noop 显示指定的设备。
  • -q或--tape 退出磁带。
  • -r或--cdrom 退出光盘。
  • -s或--scsi 以SCSI指令来退出设备。
  • -t或--trayclose 关闭光盘的托盘。
  • -v或--verbose 执行时,显示详细的说明。

实例

# eject //不加参数默认弹出
# eject -r /dev/cdrom //指定设备

点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

The Master Switch

The Master Switch

Tim Wu / Knopf / 2010-11-2 / USD 27.95

In this age of an open Internet, it is easy to forget that every American information industry, beginning with the telephone, has eventually been taken captive by some ruthless monopoly or cartel. Wit......一起来看看 《The Master Switch》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具