freebsd-dev/sys
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
..
alpha Add declarations of suword32 and suword64. Add implementations of one or 2002-05-26 16:03:13 +00:00
amd64 Add declarations of suword32 and suword64. Add implementations of one or 2002-05-26 16:03:13 +00:00
arm Move MI stuff out of MD param.h files. 2002-05-14 20:35:29 +00:00
boot Cosmetic change (align with other boot blocks): 2002-05-26 10:11:17 +00:00
cam Add a Quirk entry for the USB SimpleTech UCF-100 compact flash reader. 2002-05-19 21:59:28 +00:00
coda More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
compat Fixed a printf format error. It was old and should have been detected by 2002-05-25 10:48:03 +00:00
conf Add support to GEOM for GUID Partition Tables (GPTs). The support 2002-05-28 09:04:48 +00:00
contrib
crypto Fixed AES encryption algorithm bug 2002-05-24 07:26:17 +00:00
ddb Reconnect db_elf.c to the build (now under "options DDB_NOKLDSYM"). It 2002-05-07 10:59:52 +00:00
dev Regen. 2002-05-27 00:01:21 +00:00
fs Convert unionfs to nmount. 2002-05-24 00:44:44 +00:00
geom Add support to GEOM for GUID Partition Tables (GPTs). The support 2002-05-28 09:04:48 +00:00
gnu Convert ext2fs to nmount(2). 2002-05-24 17:38:01 +00:00
i4b Fixed printf format errors which apparently crept in while -Wformat was 2002-05-25 11:18:03 +00:00
i386 Add declarations of suword32 and suword64. Add implementations of one or 2002-05-26 16:03:13 +00:00
ia64 Make the run queue parameters machine dependent. Optimize 64 bit 2002-05-25 01:12:23 +00:00
isa After some comments from bde, rewrite the loops to avoid turning the 2002-05-14 21:28:45 +00:00
isofs/cd9660 Quick fix for non-unique inode numbers for hard links. We use the 2002-05-22 08:50:18 +00:00
kern Add NAI copyright. 2002-05-28 06:53:41 +00:00
libkern
modules Remove asr from the ia64 build. Its use of KERNBASE appears i386 2002-05-19 03:59:06 +00:00
net Make discard devices clonable and unloadable. Also, change the 2002-05-25 20:20:35 +00:00
netatalk Fix warning; Extra tokens after #endif 2002-05-24 06:11:07 +00:00
netatm Pacify gcc by preinitializing a variable. 2002-05-24 06:17:42 +00:00
netgraph Fix warnings: deprecated use of label at end of compound statement 2002-05-24 07:02:04 +00:00
netinet - Change the newly turned INVARIANTS #ifdef blocks (they were changed from 2002-05-21 18:52:24 +00:00
netinet6 o Conditionalize sections for POSIX.1-2001 compatibility. 2002-05-23 18:48:27 +00:00
netipx Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
netkey pacify gcc-3.1's -Wunused checking. 2002-05-24 05:53:57 +00:00
netnatm Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
netncp Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
netns Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
netsmb Fix trivial warning: 2002-05-24 05:40:51 +00:00
nfs
nfsclient Don't tsleep() with an sb_mtx held. 2002-05-27 05:20:15 +00:00
nfsserver Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
pc98 MFi386: revision 1.519 2002-05-14 12:31:47 +00:00
pccard
pci Enhance the use of the watchdog timer in this driver so that it will 2002-05-15 17:05:28 +00:00
posix4 Change p_can{debug,see,sched,signal}()'s first argument to be a thread 2002-05-19 00:14:50 +00:00
powerpc Implement pmap_copy and pmap_copy_page. 2002-05-28 07:38:55 +00:00
rpc
security/lomac Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
sparc64 Add declarations of suword32 and suword64. Add implementations of one or 2002-05-26 16:03:13 +00:00
sys Add support to GEOM for GUID Partition Tables (GPTs). The support 2002-05-28 09:04:48 +00:00
tools include systm.h in vnode_if.c so that panic is defined when we're doing 2002-05-04 02:35:13 +00:00
ufs Remove IFS from 5.0-CURRENT. This facilitates introducing UFS2 as 2002-05-19 00:11:08 +00:00
vm o Remove unused #defines. 2002-05-27 22:10:28 +00:00
Makefile