martin f krafft wrote:
> also sprach Michael Biebl <[EMAIL PROTECTED]> [2008.11.21.1531 +0100]:
>> so, what do you think about suppressing this warning message for the root fs 
>> then?
>> If it's all well, it would allay my fears, if I didn't have this scary, red
>> error message on each shutdown.
> 
> How can you determine which md arrays are part of the root
> filesystem? You might have md devices part of the md device that
> provides root, or LVM...
> 
> If you can find a fail-proof way to inhibit this warning when it
> makes sense, I am happy to leave this bug open, but otherwise I fear
> the FAQ will be as good as it gets.
> 

LVM on Raid complicates things, sure.
But for pure RAID systems, withouth LVM, as I currently use, the check would
simply be:
1) Try to stop the md array (e.g. /dev/md0)
2.) If it is busy, check if /dev/md0 is mounted as /
3.) If so, suppress the warning.

We maybe can't cover all cases, but as long as there are no false-positives,
where warning messages are suppressed when they shouldn't, why not implement a
"imperfect" solution?

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to