How can I programatically eject a live cd?

Fabian Keil freebsd-listen at fabiankeil.de
Sat Nov 12 10:22:19 GMT 2005


Sean Bruno <sean.bruno at dsl-only.net> wrote:

> I was looking for an answer to this question.  Since my CD is actually
> the running file system(is mounted), I cannnot eject it while the
> system is running.
> 
> So is there a way to do this that y'all have found, or do I have to
> change my CD to run from memory(RAMDISK) instead of running from the
> CD.

If you know what you're doing:
cdcontrol -f /dev/cdX eject

Fabian
-- 
http://www.fabiankeil.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051112/aa111919/signature.bin


More information about the freebsd-questions mailing list