aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-03 04:15:58 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 11:04:18 -0400
commitd33a56d3639eba077489c937943a32ef6237b1b8 (patch)
tree67eb0e6369a7a3ee39ba88ac65a91812721ae22d
parent61df9d91e986f1314af482e7ea5f2312a6cd0d14 (diff)
[PATCH] md: fix duplicity of levels in md.txt
md.txt has two sections describing the 'level' sysfs attribute, and some of the text is out-of-date. So make just one section, and make it right. Cc: Christian Kujau <evil@g-house.de> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--Documentation/md.txt17
1 files changed, 5 insertions, 12 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt
index 084ecf4eb2f8..9ae9e4078985 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -154,11 +154,12 @@ contains further md-specific information about the device.
154 154
155All md devices contain: 155All md devices contain:
156 level 156 level
157 a text file indicating the 'raid level'. This may be a standard 157 a text file indicating the 'raid level'. e.g. raid0, raid1,
158 numerical level prefixed by "RAID-" - e.g. "RAID-5", or some 158 raid5, linear, multipath, faulty.
159 other name such as "linear" or "multipath".
160 If no raid level has been set yet (array is still being 159 If no raid level has been set yet (array is still being
161 assembled), this file will be empty. 160 assembled), the value will reflect whatever has been written
161 to it, which may be a name like the above, or may be a number
162 such as '0', '5', etc.
162 163
163 raid_disks 164 raid_disks
164 a text file with a simple number indicating the number of devices 165 a text file with a simple number indicating the number of devices
@@ -192,14 +193,6 @@ All md devices contain:
192 1.2 (newer format in varying locations) or "none" indicating that 193 1.2 (newer format in varying locations) or "none" indicating that
193 the kernel isn't managing metadata at all. 194 the kernel isn't managing metadata at all.
194 195
195 level
196 The raid 'level' for this array. The name will often (but not
197 always) be the same as the name of the module that implements the
198 level. To be auto-loaded the module must have an alias
199 md-$LEVEL e.g. md-raid5
200 This can be written only while the array is being assembled, not
201 after it is started.
202
203 layout 196 layout
204 The "layout" for the array for the particular level. This is 197 The "layout" for the array for the particular level. This is
205 simply a number that is interpretted differently by different 198 simply a number that is interpretted differently by different