From owner-freebsd-questions@FreeBSD.ORG Sat Jul 26 07:49:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6235A37B401 for ; Sat, 26 Jul 2003 07:49:57 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5803243F75 for ; Sat, 26 Jul 2003 07:49:56 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 17364 invoked by uid 65534); 26 Jul 2003 14:49:54 -0000 Received: from dsl-cust-145.openweb.ca (EHLO [64.39.186.145]) (64.39.186.145) by mail.gmx.net (mp005) with SMTP; 26 Jul 2003 16:49:54 +0200 From: Adam To: freebsd Questions In-Reply-To: <3F2290A6.8000005@infowest.com> References: <3F2290A6.8000005@infowest.com> Content-Type: text/plain Message-Id: <1059230976.69256.27.camel@elwood> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 26 Jul 2003 10:49:37 -0400 Content-Transfer-Encoding: 7bit Subject: Re: cdrom eject - by software? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2003 14:49:57 -0000 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