cdrom eject - by software?

Adam blueeskimo at gmx.net
Sat Jul 26 07:49:57 PDT 2003


On Sat, 2003-07-26 at 10:31, Lorin Lund wrote:
> Is there any program that will cause the CD to eject?

Here's how I do it. There's no need for special ports like sysutils/eject.

-$ cat ~/bin/ejectcd.sh 
/usr/local/bin/sudo /sbin/umount -v /cdrom
/usr/sbin/cdcontrol -v -f /dev/acd0 Eject

-- 
Adam <blueeskimo at gmx.net>



More information about the freebsd-questions mailing list