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.
This commit is contained in:
Bruce Evans 1995-02-22 22:06:20 +00:00
parent ae623967ec
commit 268c424b23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6639

View File

@ -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