# Create device-mapper device nodes and scan for LVM volume groups
if [ -x /sbin/lvm ]; then
/sbin/vgscan --mknodes --ignorelockingfailure
- /sbin/vgchange --ignorelockingfailure -a y
-fi
-
-# Scan for btrfs volumes to simplify fstab entries
-if [ -r /sys/fs/btrfs ]; then
- /sbin/btrfs dev scan
+ /sbin/vgchange --sysinit -a y
fi
# Mount root read-only