aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/disk
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-05-18 00:22:28 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-05-18 00:22:28 +0000
commit276b25f17265dbdb47aae02f34651d0cc104a2d7 (patch)
tree4ad36b014263f1365be3235086eace90793e2874 /sys/sys/disk
parentf1f81d3b96533afe3e5e6c92720a36a3489a5fa2 (diff)
downloadsrc-276b25f17265dbdb47aae02f34651d0cc104a2d7.tar.gz
src-276b25f17265dbdb47aae02f34651d0cc104a2d7.zip
Add DragonFly's partition number to fdisk(8) and diskmbr.h
This change doesn't make any attempt to add support for these slices to the relevent GEOM classes. Just register the number in fdisk and the canonical list of kernel macros (diskmbr.h). Obtained from: DragonFlyBSD (794d80aa519b394b3174f20776a) (small subset of)
Notes
Notes: svn path=/head/; revision=347948
Diffstat (limited to 'sys/sys/disk')
-rw-r--r--sys/sys/disk/mbr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/disk/mbr.h b/sys/sys/disk/mbr.h
index 2d7c07b6271b..39b47c4a7386 100644
--- a/sys/sys/disk/mbr.h
+++ b/sys/sys/disk/mbr.h
@@ -50,6 +50,7 @@
#define DOSPTYP_EXTLBA 0x0f /* DOS extended partition */
#define DOSPTYP_PPCBOOT 0x41 /* PReP/CHRP boot partition */
#define DOSPTYP_LDM 0x42 /* Win2k dynamic extended partition */
+#define DOSPTYP_DFLYBSD 0x6c /* DragonFlyBSD partition type */
#define DOSPTYP_LINSWP 0x82 /* Linux swap partition */
#define DOSPTYP_LINUX 0x83 /* Linux partition */
#define DOSPTYP_LINLVM 0x8e /* Linux LVM partition */