Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 09:35:08 -0500
From:      Edwin Culp <eculp@webwizard.org.mx>
To:        Mike Smith <mike@smith.net.au>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Questions about vn driver...
Message-ID:  <35BF331C.F304302D@webwizard.org.mx>
References:  <199807290624.XAA00574@antipodes.cdrom.com>

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



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