Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 1998 13:22:31 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        david.myers@Corp.Sun.COM
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Formatting a vn disk...?
Message-ID:  <Pine.BSF.4.00.9807281319200.21490-100000@resnet.uoregon.edu>
In-Reply-To: <199807271857.LAA17471@concord.Corp.Sun.COM>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 27 Jul 1998 david.myers@Corp.Sun.COM wrote:

> 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.

Don't need a disktab.

> 
> Here's my plan:
> 
> 1) create ~/cdimage as a 650 megabyte file
> 2) issue 'vnconfig /dev/vn0c ~/cdimage'

2.5) disklabel /dev/vn0 | disklabel -B -R -r vn0 /dev/stdin

> 3) newfs /dev/rvn0c -- THIS DOESN'T WORK
> 4) fill up the new 650MB "disk", then 'mkisofs | cdrecord' when full...
> 
> Hints?  Suggestions?  Or can vn disks only be used for swap?

Take a look at the src/release/floppy(?)/Makefile for hints.

They make the install floppy this way, so I certainly hope not :)

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major


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?Pine.BSF.4.00.9807281319200.21490-100000>