OBS User unknown
2008-09-24 23:03:54 +00:00
committed by Git OBS Bridge
parent f2759e03cb
commit 8746a1d6c1
3 changed files with 10 additions and 3 deletions

View File

@@ -19,7 +19,7 @@
. /etc/sysconfig/lvm
# udev interaction
if [ -x /sbin/udevsettle ] ; then
if [ -x /sbin/udevadm ] ; then
[ -z "$LVM_DEVICE_TIMEOUT" ] && LVM_DEVICE_TIMEOUT=60
else
LVM_DEVICE_TIMEOUT=0
@@ -36,7 +36,7 @@ case "$1" in
# Waiting for udev to settle
if [ "$LVM_DEVICE_TIMEOUT" -gt 0 ] ; then
echo "Waiting for udev to settle..."
/sbin/udevsettle --timeout=$LVM_DEVICE_TIMEOUT
/sbin/udevadm settle --timeout=$LVM_DEVICE_TIMEOUT
fi
echo "Scanning for LVM volume groups..."
/sbin/vgscan --mknodes