Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 1996 21:47:31 +0200 (MET DST)
From:      guido@gvr.win.tue.nl (Guido van Rooij)
To:        phk@critter.tfs.com (Poul-Henning Kamp)
Cc:        FreeBSD-hackers@freebsd.org
Subject:   Re: disklabeling a vn device
Message-ID:  <199609301947.VAA11121@gvr.win.tue.nl>
In-Reply-To: <9179.844112511@critter.tfs.com> from Poul-Henning Kamp at "Sep 30, 96 09:41:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> In message <199609301929.VAA11023@gvr.win.tue.nl>, Guido van Rooij writes:
> >I am pretty I once managed to create an empty file, vnconfig it and
> >then label amnd newfs it. I forgot how though and I'm stuk with a
> >	disklabel: ioctl DIOCWDINFO: Inappropriate ioctl for device
> >error. How is this doen?
> 
> Dig into src/release/Makefile for the final clue, I can't remember
> but I know that works.

I just foud out how it can be done:
	newfs /dev/rvn0c <disk type>

This is undocumented in the newfs manpage though...If I have time
I'll fix it.

-Guido



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