diff options
author | Judd Vinet <judd@archlinux.org> | 2004-05-19 16:56:48 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-05-19 16:56:48 +0000 |
commit | f396331a675e17ef282b56ea228e66383d401400 (patch) | |
tree | 0ae68be415f678d2af76edae0beee3eefe5b1334 /rc.sysinit | |
parent | 446e095bdfb1d4d9c31f729d4169aa4a9f44797f (diff) | |
download | initscripts-f396331a675e17ef282b56ea228e66383d401400.tar.xz |
added sysfs mounting to fix LVM2 segfaults
Diffstat (limited to 'rc.sysinit')
-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 |