You didn't read the output then. The information about which disks are up
and which are failed, is put between square brackets too. You don't want
to ignore that.
So just ignore square brackets that have "=" " " and ">" between them ?
What happens when someone decides "[----> ]" looks cooler ?
Or just parse the brackets with "U" "F" and "_" between them ? What then
when someone decides that disks being resynced are marked with "R" ?
Fuzzy matching.
Nightmare.
-- ................................................................ : jakob@unthought.net : And I see the elder races, : :.........................: putrid forms of man : : Jakob Østergaard : See him rise and claim the earth, : : OZ9ABN : his downfall is at hand. : :.........................:............{Konkhra}...............: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/