Package: mdadm
Version: 2.6.2-2
Severity: wishlist

Hello,

please add `--scan' to the single-device-assembly-codepath in the
initramfs local-top script as well to support non-standard named md
devices. Patch attached.
I'm not absolutely sure about all the side-effects this modification
has, except that the config-file is used then there as well, but the
MD_DEVS=all codepath does already use `--scan' and the local-top script
automatically creates one anyways, so it should be not a big issue at
all. Currently the config-file is just not used in single-device
assembly.


regards
   Mario
-- 
<snupidity> bjmg: ja, logik ist mein fachgebiet. das liegt im gen
<uepsie> in welchem?
<snupidity> im zweiten X
--- /usr/share/initramfs-tools/scripts/local-top/mdadm	2007-07-11 10:21:38.000000000 +0200
+++ mdadm	2007-09-03 21:16:34.000000000 +0200
@@ -100,7 +100,7 @@
   for dev in $MD_DEVS; do
 
     verbose && log_begin_msg "Assembling MD array $dev"
-    if $MDADM --assemble --run --auto=yes $dev; then
+    if $MDADM --assemble --scan --run --auto=yes $dev; then
       verbose && log_success_msg "started $dev"
     else
       log_failure_msg "failed to start $dev"

Attachment: signature.asc
Description: Digital signature

Reply via email to