]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- load lvm and dm modules with "autoclean"
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Sep 2003 09:44:14 +0000 (09:44 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Sep 2003 09:44:14 +0000 (09:44 +0000)
svn-id: @1393

rc.d/rc.sysinit

index 20223e7933ba079a6161abbfc378045faf638aea..e84173f8ac30bc5d556fced60552e87a01b09445 100755 (executable)
@@ -421,9 +421,9 @@ if [ -x /sbin/evms_activate ]; then
 fi
 # LVM
 if is_yes "$EVMS_LVM" || [ -x /sbin/vgscan -a -x /sbin/vgchange ]; then
-       modprobe -s lvm-mod >/dev/null 2>&1
+       modprobe -s -k lvm-mod >/dev/null 2>&1
        # device mapper (2.5+ and patched 2.4)
-       modprobe -s dm-mod >/dev/null 2>&1
+       modprobe -s -k 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.049343 seconds and 4 git commands to generate.