Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 03:18:43 +0100
From:      Polytropon <>
To:        Gary Kline <>
Subject:   Re: how to create a DVD backup filesystem?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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):


	if [ "$1" = "" ]; then
	        echo "$0 <iso>"
	        exit 1

	if [ ! -f "$1" ]; then
	        echo "$0: cannot open $1"
	        exit 1

	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. :-)

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>