eject not working

Heikki Lindholm holindho at saunalahti.fi
Fri Mar 17 20:25:07 UTC 2017


On 17.03.2017 22:07, Polytropon wrote:
> On Fri, 17 Mar 2017 20:39:55 +0100, Tijl Coosemans wrote:
>> On Fri, 17 Mar 2017 20:24:13 +0200 Heikki Lindholm <holindho at saunalahti.fi> wrote:
>>> Hi,
>>>
>>> eject says:
>>> $ eject /dev/cd0
>>> eject: Device not configured
>>>
>>> Kind of irksome because there's no eject button that could be reached on
>>> the DVD drive without taking something apart. Is there an alternative? I
>>> think this happens only when the drive is empty. Eject works on Linux as
>>> expected.
>>>
>>> (FreeBSD 11 / eject-1.5_4)
>>
>> Try "cdcontrol eject".
>
> Has cdcontrol been rewritten to use CAM/SCSI instead of ATAPI?
>
> If not, try "camcontrol eject 0:0:0" (where 0:0:0 refers to the
> optical drive; check "camcontrol devlist" to verify).

Thanks, this one works, too. Using "devlist" appears to need root, though.

Logical follow-up:

# pkg delete eject
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 
packages in the universe):

Installed packages to be REMOVED:
         eject-1.5_4

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y



More information about the freebsd-questions mailing list