summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-22 22:06:20 +0000
committerbde <bde@FreeBSD.org>1995-02-22 22:06:20 +0000
commit20aaa0b8027153f9003064ecef21b112fa64a07f (patch)
tree25a7e6dfe00af49721f436a7f6d2feb11ebee8dc /sys/dev/vn
parentff8bdff80e2ef9a697f3c965fa8a263b02f56c95 (diff)
downloadFreeBSD-src-20aaa0b8027153f9003064ecef21b112fa64a07f.zip
FreeBSD-src-20aaa0b8027153f9003064ecef21b112fa64a07f.tar.gz
Remove the #error that temporarily stopped this from supporting slices and
labels. 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 ... The steps after the fdisk could name the device vn0s1 instead of vn0.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index d8e03a2..13bd922 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -77,7 +77,6 @@
#include <sys/uio.h>
#include <sys/disklabel.h> /* YF - needed anyway for disksort() */
#ifdef TEST_LABELLING
-#error "labeling temporarily disabled (slice numbers have changed)"
#include <sys/diskslice.h>
#include <sys/stat.h>
#endif
OpenPOWER on IntegriCloud