summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-07-12 19:21:26 +0000
committerJudd Vinet <judd@archlinux.org>2003-07-12 19:21:26 +0000
commitda04ddf1b88b62ad77db29b8efa33649a0871b58 (patch)
treed27a388975d0cfc468bf56fa853d791e80646128
parente39affb13f412f21a93205431c2abc625b4238a4 (diff)
added a check for lvmtab before activating LVM groups0.5
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index ee8a39b..3418ce4 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -18,7 +18,7 @@ status "Starting DevFS Daemon" /sbin/devfsd /dev
# /proc is temporarily mounted to check for LVM support - it is re-mounted
# later from /etc/fstab
/bin/mount -n -t proc none /proc
-if [ -f /proc/lvm/global -a -x /sbin/vgchange ]; then
+if [ -f /proc/lvm/global -a -x /sbin/vgchange -a -r /etc/lvmtab ]; then
stat_busy "Scanning for LVM groups"
/sbin/vgchange -a y
stat_done