https://gist.github.com/1370184 (this patch) --- /lib/initcpio/hooks/dmraid 2011-06-30 15:02:36.000000000 -0300 +++ hooks/dmraid 2011-11-16 11:31:43.275256727 -0300 @@ -5,11 +5,13 @@ /sbin/modprobe -q dm-mirror >/dev/null 2>&1 if [ -e "/sys/class/misc/device-mapper" ]; then if [ ! -e "/dev/mapper/control" ]; then + local major minor + IFS=: read major minor < /sys/class/misc/device-mapper/dev mkdir /dev/mapper - mknod "/dev/mapper/control" c $(cat /sys/class/misc/device-mapper/dev | sed 's|:| |') + mknod /dev/mapper/control c ${major} ${minor} fi msg ":: Activating dmraid arrays..." - # prevent any event monitoring calls with -I + # prevent any event monitoring calls with -I if [ "${quiet}" = "y" ]; then /sbin/dmraid -ay -I -Z >/dev/null else -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1