From owner-freebsd-hackers Tue Jul 28 23:25:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA21139 for freebsd-hackers-outgoing; Tue, 28 Jul 1998 23:25:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles246.castles.com [208.214.165.246]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA21102 for ; Tue, 28 Jul 1998 23:25:42 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id XAA00574; Tue, 28 Jul 1998 23:24:12 -0700 (PDT) Message-Id: <199807290624.XAA00574@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: david.myers@Corp.Sun.COM cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Questions about vn driver... In-reply-to: Your message of "Tue, 28 Jul 1998 09:55:05 PDT." <199807281655.JAA20777@concord.Corp.Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Jul 1998 23:24:10 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > [previously posted to freebsd-questions, to no avail...] > > Folks: > > How do you format a vn disk image as a ufs file system? I am attempting > to set up a 650 megabyte file for use as scratch space for assembling a > CD-ROM image, but cannot figure out how to format the "disk". Newfs > reports a pretty obvious error: there's no disktab entry for such a > beast. > > Here's my plan: > > 1) create ~/cdimage as a 650 megabyte file > 2) issue 'vnconfig /dev/vn0c ~/cdimage' That should have '-o slices' in it. 2.5) 'disklabel -rw vn0 auto' > 3) newfs /dev/rvn0c -- THIS DOESN'T WORK > 4) fill up the new 650MB "disk", then 'mkisofs ~/cdimage | cdrecord' > when full... > > Hints? Suggestions? Or is the vn driver not intended for this > sort of thing? > > -David > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message