I'm slightly confused then since my scripts specifically copy to /var/run/mdadm/map. mdadm.map is the third choice of mdadm should it not be able to make files in the first location that is set in the makefile config. however even if it did make a map file there in the initramfs, my script wouldnt copy it.
my initramfs init-bottom has "cp /var/run/mdadm/map /dev/.initramfs/varrun/map"
and my /etc/init.d/mdadm has
MAPFILE=/dev/.initramfs/varrun/map
if [ -f $MAPFILE ]; then
mv $MAPFILE /var/run/mdadm/map
fi
so I don't know how you get the mdadm.map file, unless its some odd thing with mdadm reading my earlier map file and rewriting that one ?
I'm slightly confused then since my scripts specifically copy to /var/run/mdadm/map. mdadm.map is the third choice of mdadm should it not be able to make files in the first location that is set in the makefile config. however even if it did make a map file there in the initramfs, my script wouldnt copy it.
my initramfs init-bottom has "cp /var/run/mdadm/map /dev/.initramfs /varrun/ map"
and my /etc/init.d/mdadm has
MAPFILE= /dev/.initramfs /varrun/ map
if [ -f $MAPFILE ]; then
mv $MAPFILE /var/run/mdadm/map
fi
so I don't know how you get the mdadm.map file, unless its some odd thing with mdadm reading my earlier map file and rewriting that one ?