From c2724541ae52f5f1da086cfb6514dd52e8341d8d Mon Sep 17 00:00:00 2001 From: thompsa Date: Mon, 11 Feb 2008 03:10:40 +0000 Subject: [PATCH] Hook geom_lvm(4) up to the build. --- share/man/man4/Makefile | 1 + sys/conf/NOTES | 1 + sys/conf/files | 1 + sys/modules/geom/Makefile | 1 + sys/modules/geom/geom_lvm/Makefile | 8 ++++++++ 5 files changed, 12 insertions(+) create mode 100644 sys/modules/geom/geom_lvm/Makefile diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index d7f20819c370..abfd78e54c8f 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 f77b6e571fea..03154ff14a59 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 fb68e286822c..156861758e3b 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 332486b0fb4c..341f0a4b4e22 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 000000000000..23a0fa6f82b7 --- /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