Please add the attached udev rules file to mdadm-ebuild. It uses the new --export option so will only work with versions starting ~2.6.2. suse calls the file 64-md-raid.rules (and so it is called in udev tarball). It will generate these symlinks in /dev: /dev/disk/by-id/md-name-NAME /dev/disk/by-id/md-uuid-UUID (if NAME/UUID of raid device are set) and: /dev/disk/by-uuid/UUID /dev/disk/by-label/LABEL (if filesystem on raid device has UUID/LABEL set).
Created attachment 122875 [details] 64-md-raid.rules
shouldnt we get this merged into mdadm mainline ? http://cgi.cse.unsw.edu.au/~neilb/mdadm
+1 udev-tarball contains this file, but I think merging it into mdadm sources could be good.
going into mdadm-2.6.3-r2.