Include geometry data in DIOCGPART so fdisk can use it instead of trying
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 19 May 2007 21:37:01 +0000 (21:37 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 19 May 2007 21:37:01 +0000 (21:37 +0000)
commit291fc38fe4755d79e69a501c66df0bddfff705a2
treebcd49e093439a8c3031f27bb1453b5d6369e1667
parent3127bf202aa06cb80a2579fe895f8fc37d8f45ac
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