From owner-freebsd-questions Sun Oct 6 4:25:54 2002 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 4662037B401 for ; Sun, 6 Oct 2002 04:25:51 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62F0443E6E for ; Sun, 6 Oct 2002 04:25:50 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.5/8.12.5) with ESMTP id g96BPmmC035970 for ; Sun, 6 Oct 2002 13:25:49 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.5/8.12.5/Submit) id g96BPmfJ035969; Sun, 6 Oct 2002 13:25:48 +0200 (CEST) Date: Sun, 6 Oct 2002 13:25:48 +0200 (CEST) Message-Id: <200210061125.g96BPmfJ035969@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: mtools eject CD? CD-R? In-Reply-To: <20021005220335.A1551-100000@dhcp-407-32.san.rr.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.6-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Leftwich wrote: > Is it possible to eject a (mounted or unmounted) CD or DVD from the command > line? Yes. Depending on whether it's SCSI or IDE, you can use camcontrol or cdcontrol. (cdcontrol works for SCSI drives, too, but only if the unit is ready, i.e. there is a CD in the drive. camcontrol always works.) For convenience, I've writte a small shell script called "eject". Just type "eject" and it will eject whatever it finds. http://www.secnetix.de/~olli/scripts/eject > Does a CD-R have to be specially mounted before using mkisofs or > burncd No. You can only mount filesystems. An empty CD-R does not contain a filesystem. burncd (or cdrdao or cdrecord) are used to put a filesystem on them. It's like newfs and filling the filesystem with data at the same time. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message