From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 02:19:04 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 A7BA7106566B for ; Sun, 25 Jan 2009 02:19:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6462C8FC12 for ; Sun, 25 Jan 2009 02:19:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-68-197.dynamic.qsc.de [92.196.68.197]) by mx01.qsc.de (Postfix) with ESMTP id D8F0F3CBAA; Sun, 25 Jan 2009 03:18:49 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n0P2IhEZ002091; Sun, 25 Jan 2009 03:18:43 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 25 Jan 2009 03:18:43 +0100 From: Polytropon To: Gary Kline Message-Id: <20090125031843.51f47ee3.freebsd@edvax.de> In-Reply-To: <20090125015632.GD31215@thought.org> 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: tajudd@gmail.com, perryh@pluto.rain.com, 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 02:19:05 -0000 On Sat, 24 Jan 2009 17:56:33 -0800, Gary Kline wrote: > Now that I have > > 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 > assuming that I don't need to grow or newfs anything on the disc. You're right. It is a pre-mastered file system that just needs to be recorded onto a media. The size 657922048 indicates that it would fit onto a regular CD-R. > cdrdao seems like more toward audio, so i'm guessing that it's > either cdrecord or burncd. I'll share my shell script once it > works on both media. Yes, both will work, and yes, cdrdao is better for audio or mixed forms (allthough it can burn data ISO, too, but I don't know how, out of the box). :-) You may follow my examples from Date: Sun, 25 Jan 2009 02:53:46 +0100. I'm a lazy guy, so I've setup the following aliases in /etc/csh.cshrc: alias burndata 'cdrecord dev=1,0,0 speed=16 -v -eject -tao -data' alias burnaudio 'cdrecord dev=1,0,0 speed=16 -v -eject -dao -audio' alias burntoc 'cdrdao write --driver generic-mmc-raw --device 1,0,0 --speed 16 --eject' And I've got a shell script "burndvd" in ~/bin (included in $PATH): #!/bin/sh if [ "$1" = "" ]; then echo "$0 " exit 1 fi if [ ! -f "$1" ]; then echo "$0: cannot open $1" exit 1 fi growisofs -dvd-compat -Z /dev/dvd=$1 cdcontrol eject I know this is *very* lazy stuff, but it works, and I never change a running system. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...