Remove the roll-your-own disklabel from CCD. Use the kernel disk manager
commit016ed56ee0e03a6a65786b47f721066ebb1ae706
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)
treedc44a686ab2e082574ed7cb736cd37d978ed7e4f
parent477f1a2ed6d01309548d99caec0932fb42f0a1bd
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