From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 17:03:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA166106566C for ; Sun, 25 Jan 2009 17:03:55 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4128FC14 for ; Sun, 25 Jan 2009 17:03:46 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id C236636812; Sun, 25 Jan 2009 18:03:42 +0100 (CET) Date: Sun, 25 Jan 2009 18:06:40 +0100 From: cpghost To: Wojciech Puchar Message-ID: <20090125170640.GA1125@phenom.cordula.ws> References: <20090123011043.GA86638@thought.org> <497954FE.8050206@gmail.com> <497a08f0.M7aLYVzoum+g95mw%perryh@pluto.rain.com> <20090125020349.47c3eb68.freebsd@edvax.de> <20090125015632.GD31215@thought.org> <20090125100344.V43743@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090125100344.V43743@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Gary Kline , freebsd-questions@freebsd.org Subject: Re: how to create a DVD backup filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 17:03:56 -0000 On Sun, Jan 25, 2009 at 10:05:12AM +0100, Wojciech Puchar wrote: > > cdr.iso: ISO 9660 CD-ROM filesystem data 'CDROM > > 642848 -rw-r--r-- 1 kline wheel 657922048 Jan 24 15:34 cdr.iso > > > > what is the safest command to use to burn to 1. a CD, and 2. a > > DVD? Since `file' says that cdr.iso is a filesystem, I'm > > if it ISO9660 filesystem image. > > you may check it before writing this way > > mdconfig -a -o readonly -t vnode -f cdr.iso > mount_cd9660 /dev/md0 /mnt > > then after checking > > umount /mnt > mdconfig -d -u 0 > > (assumed you don't use other md devices that moment, if so, device number > will not be md0) Right. But you can do it even faster, since our bsdtar is able to read (most) iso9660 images directly, e.g.: $ tar -tf cdr.iso -cpghost -- Cordula's Web. http://www.cordula.ws/