aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/geom
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2014-06-11 10:42:34 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2014-06-11 10:42:34 +0000
commit91ca76a590bf9601cad1689a11c02d49e7829b6a (patch)
tree4ee7d4d80fa52c7823bbd31a4db5c7b4dce71582 /sys/modules/geom
parent4042ab48c730f57e7e6535b8316368e3274f449e (diff)
downloadsrc-91ca76a590bf9601cad1689a11c02d49e7829b6a.tar.gz
src-91ca76a590bf9601cad1689a11c02d49e7829b6a.zip
Add disklabel64 support to GEOM_PART class.
This partitioning scheme is used in DragonFlyBSD. It is similar to BSD disklabel, but has the following improvements: * metadata has own dedicated place and isn't accessible through partitions; * all offsets are 64-bit; * supports 16 partitions by default (has reserved place for more); * has reserved place for backup label (but not yet implemented); * has UUIDs for partitions and partition types; No objections from: geom MFC after: 2 weeks Relnotes: yes
Notes
Notes: svn path=/head/; revision=267359
Diffstat (limited to 'sys/modules/geom')
-rw-r--r--sys/modules/geom/geom_part/Makefile1
-rw-r--r--sys/modules/geom/geom_part/geom_part_bsd64/Makefile12
2 files changed, 13 insertions, 0 deletions
diff --git a/sys/modules/geom/geom_part/Makefile b/sys/modules/geom/geom_part/Makefile
index b198bb8aed18..aa6059c3ba82 100644
--- a/sys/modules/geom/geom_part/Makefile
+++ b/sys/modules/geom/geom_part/Makefile
@@ -2,6 +2,7 @@
SUBDIR= geom_part_apm \
geom_part_bsd \
+ geom_part_bsd64 \
geom_part_ebr \
geom_part_gpt \
geom_part_ldm \
diff --git a/sys/modules/geom/geom_part/geom_part_bsd64/Makefile b/sys/modules/geom/geom_part/geom_part_bsd64/Makefile
new file mode 100644
index 000000000000..bc1bb55b5fd3
--- /dev/null
+++ b/sys/modules/geom/geom_part/geom_part_bsd64/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../../geom/part
+
+KMOD= geom_part_bsd64
+SRCS= g_part_bsd64.c
+
+SRCS+= bus_if.h device_if.h g_part_if.h
+
+MFILES= kern/bus_if.m kern/device_if.m geom/part/g_part_if.m
+
+.include <bsd.kmod.mk>