Not all rescue environments have MAKEDEV or have it in $PATH, so this should always work. ;)
Really, on my hp's as well? I don't have any /dev/hdx or /dev/sdx on the ones with software raid...
Nothing is easier than simply: # mdadm --detail --scan --verbose > /etc/mdadm.conf
And that actually *does* work in all environments...