Package: mdadm Version: 3.1.4-1+8efb9d1 User: [email protected] Usertag: run-transition
Hello, now where /run is established in unstable it would be great if mdadm could transit /dev/.mdadm as well as /lib/init/rw/.mdadm to /run (probably also to /run/mdadm instead of /run/.mdadm). See also http://wiki.debian.org/ReleaseGoals/RunDirectory And while we are at it: are the /lib/init/rw/.mdadm sentinels really still necessary, or vice versa: is it really still necessary for mdadm-raid to generate uevents on its own? Below are udevadm monitor excerpts for a plain mdadm --assemble run vs. a mdadm-raid start run. They differ in one additional (IMHO) redundant add-event. Apparently, current kernels themselves generate those events, and the migration from initramfs to real-/ is handled by udev anyways. # mdadm -A /dev/md6 mdadm: /dev/md6 has been started with 2 drives (out of 3). KERNEL[1306238708.217953] add /devices/virtual/bdi/9:6 (bdi) KERNEL[1306238708.217983] add /devices/virtual/block/md6 (block) KERNEL[1306238708.227033] change /devices/virtual/block/md6 (block) KERNEL[1306238708.227600] change /devices/pci0000:00/0000:00:1f.2/host6/target6:0:0/6:0:0:0/block/sda/sda8 (block) KERNEL[1306238708.392795] change /devices/pci0000:00/0000:00:1f.2/host7/target7:0:0/7:0:0:0/block/sdb/sdb8 (block) KERNEL[1306238708.958163] change /devices/virtual/block/md6 (block) root@darkside:~# rm /lib/init/rw/.mdadm/md6-uevent root@darkside:~# /etc/init.d/mdadm-raid start Assembling MD array md6...done (degraded [2/3]). Generating udev events for MD arrays...done. KERNEL[1306238793.266597] add /devices/virtual/bdi/9:6 (bdi) KERNEL[1306238793.266629] add /devices/virtual/block/md6 (block) KERNEL[1306238793.275753] change /devices/virtual/block/md6 (block) KERNEL[1306238793.276417] change /devices/pci0000:00/0000:00:1f.2/host6/target6:0:0/6:0:0:0/block/sda/sda8 (block) KERNEL[1306238793.280611] change /devices/pci0000:00/0000:00:1f.2/host7/target7:0:0/7:0:0:0/block/sdb/sdb8 (block) KERNEL[1306238793.503494] change /devices/virtual/block/md6 (block) KERNEL[1306238793.604394] add /devices/virtual/block/md6 (block) regards Mario -- But after a while I learned the trick of speaking fast. You don't have to think any faster; just use twice as many words to say everything. -- Paul Graham
signature.asc
Description: Digital signature

