Announcement

Collapse
No announcement yet.

eject -T not working?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] eject -T not working?

    I use this command is several scripts when I process DVDs or CDs in a group, but now it doesn't seem to work. Anyone else add anything to this

    Code:
    eject -T /dev/sr0
    the resulting error is

    Code:
    [FONT=monospace][COLOR=#000000]ioctl: Input/output error[/COLOR]
    [/FONT]

    Please Read Me

    #2
    My cd tray gets the same error using -T but opens with the eject cdrom command. Mine has to be closed manually, though.


    And testing again, using eject -vT /dev/sr0

    Code:
    $ eject -Tv /dev/sr0
    eject: device name is `/dev/sr0'
    eject: expanded name is `/dev/sr0'
    eject: `/dev/sr0' is not mounted
    eject: `/dev/sr0' is not a mount point
    eject: `/dev/sr0' is not a multipartition device
    eject: toggling tray
    ioctl: Input/output error
    And with eject -v cdrom

    Code:
    $ eject -v cdrom
    eject: device name is `cdrom'
    eject: expanded name is `/dev/cdrom'
    eject: `/dev/cdrom' is a link to `/dev/sr0'
    eject: `/dev/sr0' is not mounted
    eject: `/dev/sr0' is not a mount point
    eject: `/dev/sr0' is not a multipartition device
    eject: trying to eject `/dev/sr0' using CD-ROM eject command
    eject: CD-ROM eject command failed
    eject: trying to eject `/dev/sr0' using SCSI commands
    eject: SCSI eject succeeded

    Comment


      #3
      Yeah, weird. eject cdrom ejects it, but I have to use eject -t /dev/sr0 to close it?

      OK FIGURED IT OUT - Thanks for the hint Clay.

      It appears "eject -T sr0" works fine. it just didn't like the /dev/ part for some reason.

      Please Read Me

      Comment


        #4
        weird.
        Not unusual, of course. Just weird.

        Comment

        Working...
        X