Remove the roll-your-own disklabel from CCD. Use the kernel disk manager
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 17 May 2007 03:20:13 +0000 (03:20 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 17 May 2007 03:20:13 +0000 (03:20 +0000)
commit7dc62e37de6aafd2795aeedc3c066ba0cae0edd0
treec0707fc1b0a833ccbb93af4f5bfb4fea3b2d8044
parentca46420989e2b4aa106c5398ab5c18c6b1805609
Remove the roll-your-own disklabel from CCD.  Use the kernel disk manager
for disklabel support instead.

Make CCD a real disk device rather then a fake one.  NOTE: All /dev/ccd*
devices have changed and must be remade

Introduce DSO_COMPATMBR.  This forces an MBR sector to be reserved in front
of a disklabel even when the target disk does not have slices.  It is used
by the CCD and VN devices to keep the disklabel aligned the same way it has
been historically.

Implement 64 bit block addressing for CCD.

Implement a new filesystem type "ccd", and require that the devices backing
the CCD use that filesystem type for safety.

Fix a bug in DIOCGPART where the partinfo->media_blocks was not being
set properly for partitions.
etc/MAKEDEV
sbin/ccdconfig/ccdconfig.c
sys/dev/disk/ccd/ccd.c
sys/dev/disk/vn/vn.c
sys/kern/subr_diskslice.c
sys/sys/ccdvar.h
sys/sys/disk.h
sys/sys/disklabel.h
sys/sys/disklabel32.h