diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 03:21:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:34:10 -0500 |
commit | 6d7ff7380b2e28c2807da3bf9fa614d91d15bacf (patch) | |
tree | 1f995a4f047a041c86b52efe0db221c76c7d0327 /Documentation | |
parent | 83303b613d00718b07ec0a4dee7c99aa66629d96 (diff) |
[PATCH] md: support adding new devices to md arrays via sysfs
Writing major:minor to md/new_dev will bind that device to the array.
Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/md.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt index 7b3d471bb9f0..b8d172b254f7 100644 --- a/Documentation/md.txt +++ b/Documentation/md.txt | |||
@@ -200,6 +200,14 @@ All md devices contain: | |||
200 | This can be written only while the array is being assembled, not | 200 | This can be written only while the array is being assembled, not |
201 | after it is started. | 201 | after it is started. |
202 | 202 | ||
203 | new_dev | ||
204 | This file can be written but not read. The value written should | ||
205 | be a block device number as major:minor. e.g. 8:0 | ||
206 | This will cause that device to be attached to the array, if it is | ||
207 | available. It will then appear at md/dev-XXX (depending on the | ||
208 | name of the device) and further configuration is then possible. | ||
209 | |||
210 | |||
203 | As component devices are added to an md array, they appear in the 'md' | 211 | As component devices are added to an md array, they appear in the 'md' |
204 | directory as new directories named | 212 | directory as new directories named |
205 | dev-XXX | 213 | dev-XXX |