Date: Fri, 17 Mar 2017 22:14:57 +0200 From: Heikki Lindholm <holindho@saunalahti.fi> To: Polytropon <freebsd@edvax.de>, Tijl Coosemans <tijl@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: eject not working Message-ID: <e2d07a2c-4ebe-a61b-f6de-c371a41fc019@saunalahti.fi> In-Reply-To: <20170317210756.d91aae53.freebsd@edvax.de> References: <876a39d9-b968-54af-519c-60d0f507ab64@saunalahti.fi> <20170317203955.7ab8a02f@kalimero.tijl.coosemans.org> <20170317210756.d91aae53.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2d07a2c-4ebe-a61b-f6de-c371a41fc019>
