How can I programatically eject a live cd?

Thomas Linton th.linton at gmail.com
Sun Nov 13 08:35:17 GMT 2005


if you use CAM you could use:

# camcontrol eject [device id] [generic args]


On Sat, Nov 12, 2005 at 08:21:11PM -0800, Bill Schoolcraft wrote:
> At Sat, 12 Nov 2005 it looks like Thomas Linton composed:
> 
> >I believe that you can't do this because "you" are sitting on this CD.
> >
> >In general:
> >
> ># cdcontrol eject
> >
> >or with port /usr/ports/sysutils/eject just
> >
> ># eject
> 
> Jeez, first off I didn't know this command existed for *BSD and
> then read the manpage and saw to my amazement...
> 
> #################################################
> 
> AUTHOR
>      Shunsuke Akiyama <akiyama at FreeBSD.org>
> 
> HISTORY
>      The eject command appeared in FreeBSD 2.X
> 
> FreeBSD 5.4                      Sep 24, 2000
> 
> #################################################
> 
> -- 
> Bill Schoolcraft
> PO Box 210076
> San Francisco, CA 94121
> http://billschoolcraft.com
>              ~
> "You do best what you like most."
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 


More information about the freebsd-questions mailing list