summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/lvm2/files/lvm.rc-2.02.187')
-rw-r--r--sys-fs/lvm2/files/lvm.rc-2.02.1873
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-fs/lvm2/files/lvm.rc-2.02.187 b/sys-fs/lvm2/files/lvm.rc-2.02.187
index 1bf8002b9dab..d9c11730cdb2 100644
--- a/sys-fs/lvm2/files/lvm.rc-2.02.187
+++ b/sys-fs/lvm2/files/lvm.rc-2.02.187
@@ -77,9 +77,12 @@ start() {
eerror "Failed to find lvm binary in /bin or /sbin!"
return 1
fi
+
if [ -z "${CDBOOT}" ] ; then
if [ -e /proc/modules ] && ! dm_in_proc ; then
+ ebegin "Trying to load dm-mod module"
modprobe dm-mod 2>/dev/null
+ eend $?
fi
if [ -d /proc/lvm ] || dm_in_proc ; then