]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- device mapper backport
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 16 Oct 2003 21:00:43 +0000 (21:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-dm.patch -> 1.1

rc-scripts-dm.patch [new file with mode: 0644]

diff --git a/rc-scripts-dm.patch b/rc-scripts-dm.patch
new file mode 100644 (file)
index 0000000..a1545b4
--- /dev/null
@@ -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
This page took 0.071348 seconds and 4 git commands to generate.