Remove the roll-your-own disklabel from CCD. Use the kernel disk manager
commit9d44d800c7a486bc33b007ce1fe3f4d445a929b2
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 17 May 2007 03:20:13 +0000 (17 03:20 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 17 May 2007 03:20:13 +0000 (17 03:20 +0000)
tree7b99e5beb7d2308b3e0c542db0d5f9822d806c83
parent7aa69e953ec073db2de9375d7a5e1690da63ded7
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