summaryrefslogtreecommitdiffstats
path: root/usr.bin/comm/comm.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-05-28 09:04:48 +0000
committermarcel <marcel@FreeBSD.org>2002-05-28 09:04:48 +0000
commit5fe0fdb4325cc6485dada094f0101591c2c7291c (patch)
tree598070d70bbdf3c82fb1e92b9e6361755aae3083 /usr.bin/comm/comm.c
parent6fb0d08ff49d3d9691eb3846ea461494a4158157 (diff)
downloadFreeBSD-src-5fe0fdb4325cc6485dada094f0101591c2c7291c.zip
FreeBSD-src-5fe0fdb4325cc6485dada094f0101591c2c7291c.tar.gz
Add support to GEOM for GUID Partition Tables (GPTs). The support
is currently conditional on both the GEOM and GEOM_GPT options to avoid getting GPT by default and having the MBR and GPT classes clash. The correct behaviour of the MBR class would be to back-off (reject) a MBR if it's a Protective MBR (a MBR with a single partition of type 0xEE that spans the whole disk (as far as the MBR is concerned). The correct behaviour if the GPT class would be to back-off (reject) a GPT if there's a MBR that's not a Protective MBR. At this stage it's inconvenient to destroy a good MBR when working with GPTs that it's more convenient to have the MBR class back-off when it detects the GPT signature on disk and have the GPT class ignore the MBR. In sys/gpt.h UUIDs (GUIDs) for the following FreeBSD partitions have been defined: GPT_ENT_TYPE_FREEBSD FreeBSD slice with disklabel. This is the equivalent of the well-known FreeBSD MBR partition type. GPT_ENT_TYPE_FREEBSD_{SWAP|UFS|UFS2|VINUM} FreeBSD partitions in the context of disklabel. This is speculating on the idea to use the GPT to hold partitions instead if slices and removing the fixed (and low) limits we have on the number of partitions. This commit lacks a GPT image for the regression suite.
Diffstat (limited to 'usr.bin/comm/comm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud