freebsd-dev/sys/geom
Marcel Moolenaar bcd46c600a 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.
2002-05-28 09:04:48 +00:00
..
geom_aes.c Add a proof-of-concept encryption class. 2002-05-26 18:14:38 +00:00
geom_bsd.c Introduce the concept of "magic spaces", and implement them in most of 2002-05-21 20:33:49 +00:00
geom_ccd.c Fixed printf format errors. Most of them are 64-bit daddr_t casualties. 2002-05-25 11:05:07 +00:00
geom_dev.c Remove the "-class" suffix from classes, they will not be ambiguous. 2002-05-21 19:50:04 +00:00
geom_disk.c Give the closet-dev_t we hand to the diskdrivers a name. 2002-05-26 17:35:14 +00:00
geom_dump.c Introduce the concept of "magic spaces", and implement them in most of 2002-05-21 20:33:49 +00:00
geom_enc.c Introduce some serious paranoia to try to catch a memory overwrite problem 2002-04-23 11:48:45 +00:00
geom_event.c Only clear the spoiled flag if the class had no spoiled method, the spoiled 2002-05-26 17:17:25 +00:00
geom_gpt.c Add support to GEOM for GUID Partition Tables (GPTs). The support 2002-05-28 09:04:48 +00:00
geom_int.h s/classs/classes/ to fixup grammer after the previous global renaming. 2002-04-04 09:41:47 +00:00
geom_io.c Don't grab Giant around malloc(9) and free(9). 2002-05-20 10:03:15 +00:00
geom_kern.c Eliminate some thread pointers which do not make sense anymore. 2002-03-26 22:07:38 +00:00
geom_mbr.c Add support to GEOM for GUID Partition Tables (GPTs). The support 2002-05-28 09:04:48 +00:00
geom_pc98.c Remove the "-class" suffix from classes, they will not be ambiguous. 2002-05-21 19:50:04 +00:00
geom_slice.c Include needed #include for regression tests. 2002-05-19 18:59:39 +00:00
geom_slice.h All in a days work: make a function static. 2002-04-23 19:03:03 +00:00
geom_subr.c Introduce the concept of "magic spaces", and implement them in most of 2002-05-21 20:33:49 +00:00
geom_sunlabel.c Introduce the concept of "magic spaces", and implement them in most of 2002-05-21 20:33:49 +00:00
geom.h Introduce the concept of "magic spaces", and implement them in most of 2002-05-21 20:33:49 +00:00