From bdf8fdb363c9e38bfaad927caac0fecbe989df6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sat, 7 Nov 2009 00:12:41 +0100 Subject: Remove redundant call to vgscan - this also fixes a "wrong" symlink in combination with the new udev-based device mapper node creation --- rc.sysinit | 2 -- 1 file changed, 2 deletions(-) diff --git a/rc.sysinit b/rc.sysinit index 4d998ae..0c934c7 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -121,7 +121,6 @@ if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then # Kernel 2.6.x, LVM2 groups /sbin/modprobe -q dm-mod 2>/dev/null stat_busy "Activating LVM2 groups" - /sbin/lvm vgscan --ignorelockingfailure --mknodes >/dev/null /sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null if [ $? -ne 0 ]; then stat_fail @@ -200,7 +199,6 @@ if [ -f /etc/crypttab -a -n "$(/bin/grep -v ^# /etc/crypttab | /bin/grep -v ^$)" # Maybe someone has LVM on an encrypted block device if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then if [ -x /sbin/lvm -a -d /sys/block ]; then - /sbin/lvm vgscan --ignorelockingfailure --mknodes >/dev/null /sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null fi fi -- cgit v1.2.3