From owner-freebsd-questions Fri Mar 24 15:25:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hermes.avantgo.com (ws1.avantgo.com [207.214.200.194]) by hub.freebsd.org (Postfix) with ESMTP id 2942B37BAD0 for ; Fri, 24 Mar 2000 15:25:51 -0800 (PST) (envelope-from scott@avantgo.com) Received: from river.avantgo.com (river.avantgo.com [10.0.128.30]) by hermes.avantgo.com (Postfix) with ESMTP id 5E39825; Fri, 24 Mar 2000 15:25:47 -0800 (PST) Received: (from scott@localhost) by river.avantgo.com (8.9.3/8.9.3) id PAA08993; Fri, 24 Mar 2000 15:25:35 -0800 Date: Fri, 24 Mar 2000 15:25:35 -0800 From: Scott Hess To: OCtane Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Creating and burning ufs images on CD-Roms? Message-ID: <20000324152535.A8990@river.avantgo.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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