summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2009-11-07 00:12:41 +0100
committerThomas Bächler <thomas@archlinux.org>2009-11-07 00:12:41 +0100
commitbdf8fdb363c9e38bfaad927caac0fecbe989df6b (patch)
treef9c8731a9eb528400db7f1b8a15bbaa51b98a23e
parent08aa5bebdf76b005a7c81acd08b8641b2dea1ee7 (diff)
Remove redundant call to vgscan - this also fixes a "wrong" symlink in combination with the new udev-based device mapper node creation2009.11-1
-rwxr-xr-xrc.sysinit2
1 files changed, 0 insertions, 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