From 53257cedf1b6921930aab91c01229a1873670214 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 16 Oct 2003 21:00:43 +0000 Subject: [PATCH] - device mapper backport Changed files: rc-scripts-dm.patch -> 1.1 --- rc-scripts-dm.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rc-scripts-dm.patch diff --git a/rc-scripts-dm.patch b/rc-scripts-dm.patch new file mode 100644 index 0000000..a1545b4 --- /dev/null +++ b/rc-scripts-dm.patch @@ -0,0 +1,15 @@ +diff -urN rc-scripts-0.3.1.org/rc.d/rc.sysinit rc-scripts-0.3.1/rc.d/rc.sysinit +--- rc-scripts-0.3.1.org/rc.d/rc.sysinit 2003-10-16 22:52:57.000000000 +0200 ++++ rc-scripts-0.3.1/rc.d/rc.sysinit 2003-10-16 22:59:09.000000000 +0200 +@@ -356,8 +356,10 @@ + fi + + # Find and activate volume groups +-if [ -e /etc/lvmtab -a -x /sbin/vgscan -a -x /sbin/vgchange ]; then ++if [ -x /sbin/vgscan -a -x /sbin/vgchange ]; then + modprobe -s lvm-mod >/dev/null 2>&1 ++ # device mapper (2.5+ and patched 2.4) ++ modprobe -s dm-mod >/dev/null 2>&1 + run_cmd "Scanning for LVM volume groups" /sbin/vgscan && \ + run_cmd "Activating LVM volume groups" /sbin/vgchange -a y + fi -- 2.44.0