>From: Alexander Skwar <[EMAIL PROTECTED]>

>So sprach =BBLen Sorensen=AB am 2001-10-26 um 10:24:20 -0400 :
>> the disk.  There must be tools that just close the cdrom drive drawer.

>eject does:

>[askwar@teich askwar]$ eject --help 2>&1|grep tray
>eject [-vn] -t [<name>]                -- close tray
>-a --auto   -c --changerslot  -t --trayclose  -x --cdspeed

>[askwar@teich askwar]$ eject -V
>eject version 2.0.10 by Jeff Tranter ([EMAIL PROTECTED])

Definitely NO,

User Commands                                            eject(1)

NAME
     eject - eject media such as CD-ROM and floppy from drive

SYNOPSIS
     eject [ -dfnpq ]  [ device | nickname ]

DESCRIPTION
     The eject utility is used for those removable media  devices
     that  do  not  have a manual eject button, or for those that
     do, but are managed by Volume Management (see vold(1M)). The
     device  may  be  specified  by its name or by a nickname; if
     Volume Management is running and no  device   is  specified,
     the default device is used.

     Only  devices  that  support  eject  under  program  control
     respond to this command. eject responds differently, depend-
     ing on whether or not Volume Management is running.

  With Volume Management
     When eject is used on media that can only be  ejected  manu-
     ally, it will do everything except remove the media, includ-
     ing unmounting the file system if it  is  mounted.  In  this
     case,  eject  displays  a  message that the media can now be
     manually ejected. If a window system is running, the message
     is  displayed  as  a  pop-up window, unless the -p option is
     supplied. If no window system is running or the -p option is
     supplied,  a  message is displayed both to stderr and to the
     system console that the media can now be physically removed.

     Volume Management has the concept of a default device, which
     eject  uses if no pathname or nickname is specified. Use the
     -d option to check what default device will be used.

  Without Volume Management
     When Volume Management is not  running  and  a  pathname  is
     specified,  eject  sends the eject command to that pathname.
     If a nickname is supplied instead of a pathname, eject  will
     recognize the following list:

SunOS 5.9           Last change: 20 Sep 1996                    1

User Commands                                            eject(1)

     ____________________________________________________________
    |          Nickname           |             Path            |
    | fd                          | /dev/rdiskette              |
    | fd0                         | /dev/rdiskette              |

.....

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to