This commit is contained in:
committed by
Git OBS Bridge
parent
f2759e03cb
commit
8746a1d6c1
4
boot.lvm
4
boot.lvm
@@ -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
|
||||
|
Reference in New Issue
Block a user