Hi Stefan,

I've tested your patch with a raid10 configuration. No problems so
far. I had to adjust your patch because it did not apply cleanly to
the master branch. Here's the commit
https://github.com/faiproject/fai/commit/31a7904235c69455b7c7603b521d23f8703e3b0b

I have one question. Is it important that the md[0-9]{3,} devices are
listed before the other devices? I think that's the reason why you
added another egrep call inside a bash subshell. If not, I could add
the additional regex into the other egrep call.

+( egrep 'md[0-9]{3,}$' /proc/partitions; egrep ' 
etherd/e[[:digit:]]+\.[[:digit:]]+\b| i2o/hd.+\b| cciss/c.+d.+\b|ida/c.+d.+\b| 
rd/c.+d.+\b| fio.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b|vd.\b| xvd.\b' 
/proc/partitions ) | checkdisk

-- 
regards Thomas

Reply via email to