From owner-freebsd-hackers Wed Jul 29 07:37:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06622 for freebsd-hackers-outgoing; Wed, 29 Jul 1998 07:37:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dns.webwizard.net.mx (mexcom.net.mx [207.249.162.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA06615 for ; Wed, 29 Jul 1998 07:37:38 -0700 (PDT) (envelope-from eculp@webwizard.org.mx) Received: from webwizard.org.mx (mexcom.net.mx [207.249.162.140]) by dns.webwizard.net.mx (8.8.8/8.8.7) with ESMTP id JAA09936; Wed, 29 Jul 1998 09:35:08 -0500 (CDT) Message-ID: <35BF331C.F304302D@webwizard.org.mx> Date: Wed, 29 Jul 1998 09:35:08 -0500 From: Edwin Culp X-Mailer: Mozilla 4.5b1 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: Questions about vn driver... References: <199807290624.XAA00574@antipodes.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > > [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' I cannot get this to work. I get the following on my current as of yesterday. disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device disklabel: auto: unknown disk type Thanks ed > > > > > > 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-hackers" in the body of the message