Re: I would like to eject my cdrom



On Tuesday 08 September 2009 16:33:00 John Hasler wrote:
Sjoerd writes:
Yes, but the point of this questin is:
$ eject -i
eject: invalid option -- i

"-i" takes an argument. man eject

<quote from man>
COMMAND-LINE OPTIONS


-h
This option causes eject to display a brief description of the command
options.
-v
This makes eject run in verbose mode; more information is displayed about
what the command is doing.
-d
If invoked with this option, eject lists the default device name.
-a on|1|off|0
This option controls the auto-eject mode, supported by some devices. When
enabled, the drive automatically ejects when the device is closed.
-c <slot>
With this option a CD slot can be selected from an ATAPI/IDE CD-ROM changer.
Linux 2.0 or higher is required to use this feature. The CD-ROM drive can not
be in use (mounted data CD or playing a music CD) for a change request to
work. Please also note that the first slot of the changer is referred to as
0, not 1.
-t
With this option the drive is given a CD-ROM tray close command. Not all
devices support this command.
-T
With this option the drive is given a CD-ROM tray close command if it's
opened, and a CD-ROM tray eject command if it's closed. Not all devices
support this command, because it uses the above CD-ROM tray close command.
-x <speed>
With this option the drive is given a CD-ROM select speed command. The speed
argument is a number indicating the desired speed (e.g. 8 for 8X speed), or 0
for maximum data rate. Not all devices support this command and you can only
specify speeds that the drive is capable of. Every time the media is changed
this option is cleared. This option can be used alone, or with the -t and -c
options.
-X
With this option the CD-ROM drive will be probed to detect the available
speeds. The output is a list of speeds which can be used as an argument of
the -x option. This only works with Linux 2.6.13 or higher, on previous
versions solely the maximum speed will be reported. Also note that some drive
may not correctly report the speed and therefore this option does not work
with them.
-n
With this option the selected device is displayed but no action is performed.
-r
This option specifies that the drive should be ejected using a CDROM eject
command.
-s This option specifies that the drive should be ejected using SCSI commands.
-f
This option specifies that the drive should be ejected using a removable
floppy disk eject command.
-q
This option specifies that the drive should be ejected using a tape drive
offline command.
-p
This option allow you to use /proc/mounts instead /etc/mtab. It also passes
the -n option to umount(1).
-m
This option allows eject to work with device drivers which automatically
mount removable media and therefore must be always mount()ed. The option
tells eject to not try to unmount the given device, even if it is mounted
according to /etc/mtab or /proc/mounts.
-V
This option causes eject to display the program version and exit.
LONG OPTIONS
All options have corresponding long names, as listed below. The long names
can be abbreviated as long as they are unique.

-h --help
-v --verbose
-d --default
-a --auto
-c --changerslot
-t --trayclose
-T --traytoggle
-x --cdspeed
-X --listspeed
-n --noop
-r --cdrom
-s --scsi
-f --floppy
-q --tape
-V --version
-p --proc
-m --no-unmount

EXAMPLES
</quote from man>

-i??

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: A question about burning USB stick
    ... insert the stick it is mounted (it already has valid partitions on ... I think you mean that the command shows it is the device /dev/sdb - the ... If you eject a USB device, it is disabled, which is the same as if you ... Great, that is what I was looking for, that lets me unmount it without ...
    (Ubuntu)
  • Re: A question about burning USB stick
    ... insert the stick it is mounted (it already has valid partitions on ... I think you mean that the command shows it is the device /dev/sdb - the ... If you eject a USB device, it is disabled, which is the same as if you ...
    (Ubuntu)
  • Re: Executing script(SOLVED)
    ... command, and now the program ejects the cd without ... > you'll see not everyone can eject. ... >> Do You Yahoo!? ... Mail has the best spam ...
    (Debian-User)
  • reg CD eject
    ... In Solaris, I am able to eject the CD-ROM tray with the eject command. ...
    (comp.security.unix)
  • Re: Newbie having problem unmounting CD in Fedora Core 6
    ... issues with installing software caused by having no network connection ... left click the Eject option on the pop-up menu. ... and the error messages from umount give no clue. ... Is there a more aggressive command than umount for forcing ...
    (comp.os.linux.misc)