Skip site navigation (1)Skip section navigation (2)
Date:      26 Jul 2003 10:49:37 -0400
From:      Adam <blueeskimo@gmx.net>
To:        freebsd Questions <freebsd-questions@freebsd.org>
Subject:   Re: cdrom eject - by software?
Message-ID:  <1059230976.69256.27.camel@elwood>
In-Reply-To: <3F2290A6.8000005@infowest.com>
References:  <3F2290A6.8000005@infowest.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmx.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1059230976.69256.27.camel>