Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2000 15:25:35 -0800
From:      Scott Hess <scott@avantgo.com>
To:        OCtane <zhaoc@escape.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Creating and burning ufs images on CD-Roms?
Message-ID:  <20000324152535.A8990@river.avantgo.com>
In-Reply-To: <Pine.BSI.4.05L.10003241722120.13277-100000@escape.com>
References:  <Pine.BSI.4.05L.10003241722120.13277-100000@escape.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 24, 2000 at 05:26:44PM -0500, OCtane wrote:
> Here's what I've tried (apprx):
> dd if=/dev/zero of=./cdimg bs=2048 count=332800 # Create 650MB image file
> # The byte size here doesn't even matter, does it?
> vnconfig -s labels -c vn0 ./cdimg
> disklabel -r -w vn0 auto                        # Label it with defaults?
> newfs /dev/vn0c
> 
> At this point I can mount the file and copy whatever I want on to it.
> I unmount the file, and burn it using burncd (running FreeBSD
> 4.0-Stable, cvsup'ed in the last three days.)
> 
> burncd -f /dev/acd1c -s 4 data ./cdimg
> 
> The burn process appears to work; the cd-rw's drive light blinks,
> burncd reports the progress until it is finished.
> 
> Mounting the cd then causes a kernel panic.

From your description, my bet would be that you need to set the fragment
size to newfs to 2k.

[I've never built such a CD, though I've mounted them before - NeXT's
CDs were UFS filesystems.]

Later,
scott


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000324152535.A8990>