From: Thomas Deutschmann Date: Tue, 14 Apr 2020 17:41:24 +0000 (+0200) Subject: sys-fs/lvm2: runscript: output msg when we are loading module X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=499d46aecf548f32a1ea07e1f942ecb3b37edb5e;p=gentoo.git sys-fs/lvm2: runscript: output msg when we are loading module Signed-off-by: Thomas Deutschmann --- 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