From owner-freebsd-questions Tue Sep 1 10:33:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17256 for freebsd-questions-outgoing; Tue, 1 Sep 1998 10:33:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from clio.rice.edu (clio.rice.edu [128.42.105.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA17214 for ; Tue, 1 Sep 1998 10:33:07 -0700 (PDT) (envelope-from keyser@clio.rice.edu) Received: by clio.rice.edu (AIX 3.2/UCB 5.64/4.03) id AA14985; Tue, 1 Sep 1998 12:32:34 -0500 Date: Tue, 1 Sep 1998 12:32:34 -0500 From: keyser@clio.rice.edu (Kevin Keyser) Message-Id: <9809011732.AA14985@clio.rice.edu> To: kkennawa@physics.adelaide.edu.au Subject: Re: Creating a vn filesystem Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm trying to create a vn filesystem on my -current box, using the following: > > [morden|root] 0:13 ~ dd if=/dev/zero of=/d/bigfile bs=1024 count=204800 > 204800+0 records in > 204800+0 records out > 209715200 bytes transferred in 59.543914 secs (3522026 bytes/sec) > [morden|root] 0:15 ~ vnconfig -c /dev/vn1 /d/bigfile > (/dev/vn0 is being used as a swap file, hence /dev/vn1) > [morden|root] 0:17 ~ disklabel -e /dev/vn1 > (dumps me in vi with the following) > { normal looking disklabel } > > This seems okay to me - but upon writing and quitting, I get > > disklabel: Operation not supported by device > re-edit the label? [y]: The following works for me on 2.2.6R: dd if=/dev/zero of=vn0.file bs=1m count=200 vnconfig -c /dev/vn0 vn0.file disklabel /dev/rvn0 | disklabel -R -r vn0 /dev/stdin disklabel -r -e vn0 newfs /dev/rvn0a Maybe there's an easier way though... > Thanks, > > Kris Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message