[PATCH] md: Allow raid 'layout' to be read and set via sysfs

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
NeilBrown
2006-06-26 00:27:59 -07:00
committed by Linus Torvalds
parent 45dc2de1e5
commit d4dbd0250e
2 changed files with 32 additions and 0 deletions
+5
View File
@@ -200,6 +200,11 @@ All md devices contain:
This can be written only while the array is being assembled, not
after it is started.
layout
The "layout" for the array for the particular level. This is
simply a number that is interpretted differently by different
levels. It can be written while assembling an array.
new_dev
This file can be written but not read. The value written should
be a block device number as major:minor. e.g. 8:0