aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-11-02 05:22:11 +0000
committerBill Nottingham <notting@redhat.com>2004-11-02 05:22:11 +0000
commit96f85640768fc7ec415a51640f548d23cfa4c838 (patch)
tree02a20afbfdc55b5318ecb03783423cd2db23edbf /rc.d/rc.sysinit
parent6a2f2bc2ef65298424a9d366e506d8b110f87ab4 (diff)
downloadinitscripts-96f85640768fc7ec415a51640f548d23cfa4c838.tar
initscripts-96f85640768fc7ec415a51640f548d23cfa4c838.tar.gz
initscripts-96f85640768fc7ec415a51640f548d23cfa4c838.tar.bz2
initscripts-96f85640768fc7ec415a51640f548d23cfa4c838.tar.xz
initscripts-96f85640768fc7ec415a51640f548d23cfa4c838.zip
remove LVM1 code
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit11
1 files changed, 0 insertions, 11 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index dcf78712..71b743df 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -465,13 +465,6 @@ if [ -x /sbin/lvm.static ]; then
fi
fi
fi
-# LVM initialization
-if [ -f /etc/lvmtab ]; then
- [ -e /proc/lvm ] || modprobe lvm-mod > /dev/null 2>&1
- if [ -e /proc/lvm -a -x /sbin/vgchange ]; then
- action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y
- fi
-fi
# Clean up SELinux labels
if [ -n "$SELINUX" ]; then
@@ -604,10 +597,6 @@ if [ -f /etc/raidtab ]; then
action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes --ignorelockingfailure && /sbin/lvm.static vgchange -a y --ignorelockingfailure
fi
fi
- # LVM initialization, take 2 (it could be on top of RAID)
- if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
- action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y
- fi
fi
fi