summaryrefslogtreecommitdiffstats
path: root/sys/geom/part
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2015-05-13 14:05:53 +0000
committerae <ae@FreeBSD.org>2015-05-13 14:05:53 +0000
commit8e1b135fb3cb1e2b110d4b33750944465e5146a5 (patch)
tree6f90b39349723b08fd51addfb482396f5671af67 /sys/geom/part
parent807e2f21fd8580eb45719c1e74d4f69cb83c799f (diff)
downloadFreeBSD-src-8e1b135fb3cb1e2b110d4b33750944465e5146a5.zip
FreeBSD-src-8e1b135fb3cb1e2b110d4b33750944465e5146a5.tar.gz
MFC r282465:
Add apple-boot, apple-hfs and apple-ufs aliases to MBR scheme. Sort DOSPTYP_* entries in diskmbr.h by value. Document these scheme-specific types in gpart(8).
Diffstat (limited to 'sys/geom/part')
-rw-r--r--sys/geom/part/g_part_mbr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/geom/part/g_part_mbr.c b/sys/geom/part/g_part_mbr.c
index 8b32778..5a4a48b 100644
--- a/sys/geom/part/g_part_mbr.c
+++ b/sys/geom/part/g_part_mbr.c
@@ -138,6 +138,9 @@ static struct g_part_mbr_alias {
{ DOSPTYP_PPCBOOT, G_PART_ALIAS_PREP_BOOT },
{ DOSPTYP_VMFS, G_PART_ALIAS_VMFS },
{ DOSPTYP_VMKDIAG, G_PART_ALIAS_VMKDIAG },
+ { DOSPTYP_APPLE_UFS, G_PART_ALIAS_APPLE_UFS },
+ { DOSPTYP_APPLE_BOOT, G_PART_ALIAS_APPLE_BOOT },
+ { DOSPTYP_HFS, G_PART_ALIAS_APPLE_HFS },
};
static int
OpenPOWER on IntegriCloud