Include geometry data in DIOCGPART so fdisk can use it instead of trying
commitc9a24e72129fdc31dbba421e17b057d118cdaf46
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 19 May 2007 21:37:01 +0000 (19 21:37 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 19 May 2007 21:37:01 +0000 (19 21:37 +0000)
tree1477bd5c06cc0e29e624e19cf715f531a0567e53
parentb4a97191aeb3beed70481d8e1f167d97d46b11e7
Include geometry data in DIOCGPART so fdisk can use it instead of trying
to read a faked disklabel.

Change MAKEDEV to create 'compatibility slice' devices, e.g. da0s0a,
da0s0b, etc.  Previously the compatibility slice devices were e.g. da0a, da0b,
and there was no 'whole slice' device for the compatibility slice at all,
meaning one couldn't disklabel it.  Now there is, e.g. da0s0.
etc/MAKEDEV
sys/kern/subr_diskslice.c
sys/sys/diskslice.h