From owner-freebsd-current Wed Feb 22 15:20:10 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA09502 for current-outgoing; Wed, 22 Feb 1995 15:20:10 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA09481 for ; Wed, 22 Feb 1995 15:19:51 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id KAA08767; Thu, 23 Feb 1995 10:16:14 +1100 Date: Thu, 23 Feb 1995 10:16:14 +1100 From: Bruce Evans Message-Id: <199502222316.KAA08767@godzilla.zeta.org.au> To: julian@TFS.COM Subject: Re: cvs commit: src/sys/dev/vn vn.c Cc: current@FreeBSD.org Sender: current-owner@FreeBSD.org Precedence: bulk >> Please test the slice/label features: >> cd /dev; sh MAKEDEV svn0 >> cd /var/tmp; dd if=/dev/zero of=vnfile bs=8192 count=1024 >> vnconfig -c /dev/rvn0 /var/tmp/vnfile >> fdisk /dev/rvn0 # invent a geometry, create one BSD partition >> disklabel -r -w vn0 floppy # a convenient (bogus) label >> disklabel -e vn0 # edit label to match device >> newfs /dev/rvn0a >> mount /dev/vn0a /mnt >> ... >This is a good example of it's use.. >it'd be nice if it were stuck in the FAQ or somewhere.... A good example of how to use vn or slices? :-) I'm going to copy and modify it for real disk devices. I forgot to say: o Use option TEST_LABELLING to enable slices and labels in vn. o Expect a lot of kernel printfs for botched and old labels. o You can put BSD partitions on slices vn0s[1-4]. MAKEDEV has to be changed a little to create [r]vn0s[2-4][a-h]. It doesn't create all the partitions by default because there would be too many. Bruce