-
Notifications
You must be signed in to change notification settings - Fork 0
/
Comandos_de_la_terminal%2Feject.mw
93 lines (74 loc) · 2.72 KB
/
Comandos_de_la_terminal%2Feject.mw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
__NOTOC__
* [[:#eject | eject]]
== eject ==
<syntaxhighlight lang="bash">
[rrc@Llawyr ~]$ eject --help
Usage:
eject [options] [<device>|<mountpoint>]
Options:
-a, --auto <on|off> turn auto-eject feature on or off
-c, --changerslot <slot> switch discs on a CD-ROM changer
-d, --default display default device
-f, --floppy eject floppy
-F, --force don't care about device type
-i, --manualeject <on|off> toggle manual eject protection on/off
-m, --no-unmount do not unmount device even if it is mounted
-M, --no-partitions-unmount do not unmount another partitions
-n, --noop don't eject, just show device found
-p, --proc use /proc/mounts instead of /etc/mtab
-q, --tape eject tape
-r, --cdrom eject CD-ROM
-s, --scsi eject SCSI device
-t, --trayclose close tray
-T, --traytoggle toggle tray
-v, --verbose enable verbose output
-x, --cdspeed <speed> set CD-ROM max speed
-X, --listspeed list CD-ROM available speeds
-h, --help display this help and exit
-V, --version output version information and exit
By default tries -r, -s, -f, and -q in order until success.
For more details see eject(1).
[rrc@Llawyr ~]$ eject --version
eject from util-linux 2.24
[rrc@Llawyr ~]$ eject -d
eject: default device: `/dev/cdrom'
[rrc@Llawyr ~]$ eject
[rrc@Llawyr ~]$ eject -n
eject: device is `/dev/sr0'
[rrc@Llawyr src]$ eject /dev/sr0
[rrc@Llawyr ~]$ eject -sv
eject: using default device `/dev/sr0'
eject: device name is `/dev/sr0'
eject: /dev/sr0: not mounted
eject: /dev/sr0: is whole-disk device
eject: /dev/sr0: is removable device
eject: /dev/sr0: trying to eject using SCSI commands
eject: SCSI eject succeeded
[rrc@Llawyr ~]$ eject -rv
eject: using default device `/dev/sr0'
eject: device name is `/dev/sr0'
eject: /dev/sr0: not mounted
eject: /dev/sr0: is whole-disk device
eject: /dev/sr0: is removable device
eject: /dev/sr0: trying to eject using CD-ROM eject command
eject: CD-ROM eject command succeeded
[rrc@Llawyr ~]$ eject -pv
eject: using default device `/dev/sr0'
eject: device name is `/dev/sr0'
eject: /dev/sr0: not mounted
eject: /dev/sr0: is whole-disk device
eject: /dev/sr0: is removable device
eject: /dev/sr0: trying to eject using CD-ROM eject command
eject: CD-ROM eject command succeeded
[rrc@Llawyr ~]$ eject -X
24
[rrc@Llawyr ~]$ eject -Xv
eject: using default device `/dev/sr0'
eject: device name is `/dev/sr0'
eject: /dev/sr0: not mounted
eject: /dev/sr0: is whole-disk device
eject: /dev/sr0: is removable device
eject: /dev/sr0: listing CD-ROM speed
24
</syntaxhighlight>
[[Category:Comandos de la terminal]]