How can I programatically eject a live cd?

Sean Bruno sean.bruno at dsl-only.net
Sat Nov 12 18:31:30 GMT 2005


On Sat, 2005-11-12 at 09:35 -0500, Lowell Gilbert wrote:
> Sean Bruno <sean.bruno at dsl-only.net> writes:
> 
> > 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.
> 
> You want to eject your running root filesystem?
> That's a *really* crazy idea.
> Why do you want to do that?  
> 
Well, I don't "want" to eject my running root filesystem, but I need to
have the CD eject on a reboot/halt of the system.  

So, is there a "nicer" way of doing this?

Sean



More information about the freebsd-questions mailing list