Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (17 sloc) 527 Bytes
#!/bin/sh
. /libinit
/sbin/modprobe -q dm-mod 2>/dev/null
if [ -e /sys/class/misc/device-mapper ]; then
if [ ! -e /dev/mapper/control ]; then
IFS=':' read major minor </sys/class/misc/device-mapper/dev
/bin/mknod /dev/mapper/control c "$major" "$minor"
fi
if [ -n "$lvmwait" ]; then
for pvdev in ${lvmwait//,/ }; do
poll_device $pvdev $rootdelay
done
fi
msg "Activating logical volumes..."
[ -d /etc/lvm ] && /sbin/lvm vgscan
/sbin/lvm vgchange ${quiet:+--quiet} --sysinit -ay 6>&-
fi