My changes:
3.1.2 wants to put its map file by default at /var/run/map so
init-top script to make a /var/run folder for the map file (would be
better in initramfs init - but I only want to maintain one package here
and not mess with the important stuff)
init-bottom script to copy the map file to .initramfs in /dev (temporary
as root is read only at this point).
change in the init script that starts the monitor service to copy the
map file to /var/run/map
change in package postinst, to not try and run a non
existent /dev/MAKEDEV
If you try this out, please make sure you can recover your system and
install the old mdadm back. However, it works for me.
I haven't sorted a ppa yet, but I stuck my package up here http:// malus.exotica. org.uk/ ~buzz/mdadm/
My changes:
3.1.2 wants to put its map file by default at /var/run/map so
init-top script to make a /var/run folder for the map file (would be
better in initramfs init - but I only want to maintain one package here
and not mess with the important stuff)
init-bottom script to copy the map file to .initramfs in /dev (temporary
as root is read only at this point).
change in the init script that starts the monitor service to copy the
map file to /var/run/map
change in package postinst, to not try and run a non
existent /dev/MAKEDEV
If you try this out, please make sure you can recover your system and
install the old mdadm back. However, it works for me.