summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-02-08 23:51:44 +0000
committermarcel <marcel@FreeBSD.org>2009-02-08 23:51:44 +0000
commitf4fd37f8385e2292b4d9235b5cc4bded85da26b8 (patch)
tree1dd84dc498a58233c8b5423090433e4c2f89a421 /sys/modules
parentf698c89aafcc8de9754500a5526c1e139a4fe0a2 (diff)
downloadFreeBSD-src-f4fd37f8385e2292b4d9235b5cc4bded85da26b8.zip
FreeBSD-src-f4fd37f8385e2292b4d9235b5cc4bded85da26b8.tar.gz
Add the EBR scheme. The EBR scheme supports the Extended Boot Records
found inside extended partitions and used to create logical partitions. At this time write/modify support is not (yet) present. The EBR and MBR schemes both check the parent scheme. The MBR will back-off when nested under another MBR, whereas the EBR only nests under a MBR.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/geom/geom_part/Makefile1
-rw-r--r--sys/modules/geom/geom_part/geom_part_ebr/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 63a4374..898eccc 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_ebr \
geom_part_gpt \
geom_part_mbr \
geom_part_pc98 \
diff --git a/sys/modules/geom/geom_part/geom_part_ebr/Makefile b/sys/modules/geom/geom_part/geom_part_ebr/Makefile
new file mode 100644
index 0000000..4b773e6
--- /dev/null
+++ b/sys/modules/geom/geom_part/geom_part_ebr/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../../geom/part
+
+KMOD= geom_part_ebr
+SRCS= g_part_ebr.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>
OpenPOWER on IntegriCloud