On Thu, Nov 27, 2008 at 08:52:48AM -0500, Jody McIntyre wrote: > I was thinking about your first suggestion but note that there is also > /proc/diskstats as well as /sys/block/<dev>/stat. The advantage of > having everything in one file is that you only have to open one file > when gathering statistics on many arrays, and /proc/mdstat already > exists as a precedent. I could add individual array statistics files as > well if useful. /proc contains a lot of legacy junk but nowadays the trend is that you should not add new files under /proc that are not process-related. Changing /proc/mdstat is IMHO out of question since it is part of the user visible ABI and breaking that is a big no-no. So if you want all info in a single file that pretty much leaves only debugfs. Gabor -- --------------------------------------------------------- MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences --------------------------------------------------------- -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html