summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/Makefile1
-rw-r--r--sys/conf/NOTES1
-rw-r--r--sys/conf/files1
-rw-r--r--sys/modules/geom/Makefile1
-rw-r--r--sys/modules/geom/geom_lvm/Makefile8
5 files changed, 12 insertions, 0 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index d7f2081..abfd78e 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -94,6 +94,7 @@ MAN= aac.4 \
gem.4 \
geom.4 \
geom_fox.4 \
+ geom_lvm.4 \
geom_uzip.4 \
gif.4 \
gre.4 \
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index f77b6e5..03154ff 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -140,6 +140,7 @@ options GEOM_FOX # Redundant path mitigation
options GEOM_GATE # Userland services.
options GEOM_JOURNAL # Journaling.
options GEOM_LABEL # Providers labelization.
+options GEOM_LVM # LVM2 volumes
options GEOM_MBR # DOS/MBR partitioning
options GEOM_MIRROR # Disk mirroring.
options GEOM_MULTIPATH # Disk multipath
diff --git a/sys/conf/files b/sys/conf/files
index fb68e28..1568617 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1299,6 +1299,7 @@ geom/label/g_label_msdosfs.c optional geom_label
geom/label/g_label_ntfs.c optional geom_label
geom/label/g_label_reiserfs.c optional geom_label
geom/label/g_label_ufs.c optional geom_label
+geom/lvm/g_lvm.c optional geom_lvm
geom/mirror/g_mirror.c optional geom_mirror
geom/mirror/g_mirror_ctl.c optional geom_mirror
geom/multipath/g_multipath.c optional geom_multipath
diff --git a/sys/modules/geom/Makefile b/sys/modules/geom/Makefile
index 332486b..341f0a4 100644
--- a/sys/modules/geom/Makefile
+++ b/sys/modules/geom/Makefile
@@ -10,6 +10,7 @@ SUBDIR= geom_bde \
geom_gate \
geom_journal \
geom_label \
+ geom_lvm \
geom_mbr \
geom_mirror \
geom_multipath \
diff --git a/sys/modules/geom/geom_lvm/Makefile b/sys/modules/geom/geom_lvm/Makefile
new file mode 100644
index 0000000..23a0fa6
--- /dev/null
+++ b/sys/modules/geom/geom_lvm/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../geom/lvm
+
+KMOD= geom_lvm
+SRCS= g_lvm.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud