Thank you for getting into this, Surhbi. I managed to hack a solution into my initramfs scripts, maybe you can extract something useful for the "good solution" : )
In /usr/share/initramfs/hooks/mdadm: Create /var/run/mdadm in initramfs > mkdir -p ${DESTDIR}/var/run/mdadm Create /usr/share/initramfs/scripts/init-bottom/mdadm: Script that copies /var/run/mdadm to the real /var/run/ > #! /bin/sh > > case $1 in > prereqs) > exit 0 > ;; > esac > if [ -r /var/run/mdadm/map ]; then > mkdir -p /dev/.initramfs/varrun/mdadm > cp /var/run/mdadm/map /dev.initramfs/varrun/mdadm/ > fi Using 10.04 / Lucid, /etc/init/mounted-varrun.conf then copies the mapfile to the newly created /var tmpfs. HTH -- maps file not getting copied from initramfs to real rootfs (loosing state, race, misconfig) https://bugs.launchpad.net/bugs/550131 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs