diff options
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,17 +25,21 @@ fi if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then if [ -f /etc/lvmtab -a -x /sbin/vgchange ]; then + # Kernel 2.4.x, LVM1 groups /bin/mount -n -t proc none /proc stat_busy "Activating LVM1 groups" /sbin/vgchange -a y stat_done umount /proc elif [ -x /sbin/lvm ]; then + # Kernel 2.6.x, LVM2 groups /bin/mount -n -t proc none /proc + /bin/mount -n -t sysfs none /sys stat_busy "Activating LVM2 groups" /sbin/lvm vgchange --ignorelockingfailure -a y stat_done umount /proc + umount /sys fi fi |