From owner-freebsd-hackers Mon Sep 30 12:47:58 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA26522 for hackers-outgoing; Mon, 30 Sep 1996 12:47:58 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA26453 for ; Mon, 30 Sep 1996 12:47:53 -0700 (PDT) Received: by gvr.win.tue.nl (8.6.13/1.53) id VAA11121; Mon, 30 Sep 1996 21:47:32 +0200 From: guido@gvr.win.tue.nl (Guido van Rooij) Message-Id: <199609301947.VAA11121@gvr.win.tue.nl> Subject: Re: disklabeling a vn device To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Mon, 30 Sep 1996 21:47:31 +0200 (MET DST) Cc: FreeBSD-hackers@freebsd.org In-Reply-To: <9179.844112511@critter.tfs.com> from Poul-Henning Kamp at "Sep 30, 96 09:41:51 pm" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 This is undocumented in the newfs manpage though...If I have time I'll fix it. -Guido