Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 1998 23:24:10 -0700
From:      Mike Smith <mike@smith.net.au>
To:        david.myers@Corp.Sun.COM
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Questions about vn driver... 
Message-ID:  <199807290624.XAA00574@antipodes.cdrom.com>
In-Reply-To: Your message of "Tue, 28 Jul 1998 09:55:05 PDT." <199807281655.JAA20777@concord.Corp.Sun.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> [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



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