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

Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
NeilBrown 2006-06-26 00:27:59 -07:00 • committed by Linus Torvalds
commit d4dbd0250e
2 changed files with 32 additions and 0 deletions

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