diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-11-07 00:12:41 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-11-07 00:12:41 +0100 |
commit | bdf8fdb363c9e38bfaad927caac0fecbe989df6b (patch) | |
tree | f9c8731a9eb528400db7f1b8a15bbaa51b98a23e | |
parent | 08aa5bebdf76b005a7c81acd08b8641b2dea1ee7 (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-x | rc.sysinit | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |