mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
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:
parent
ae623967ec
commit
268c424b23
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6639
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user