]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Add --test option to --re-add and similar
authorNeilBrown <neilb@suse.de>
Tue, 6 Jul 2010 01:46:04 +0000 (11:46 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 6 Jul 2010 02:07:07 +0000 (12:07 +1000)
commit7d2e6486e34180215e4859c3b342246dfc6c07a0
tree9ec3ec035088063fa72d2f148b5951fc9ddc9738
parenta4e13010df574a1ce597efe9cb15ed6d6003b8bb
Add --test option to --re-add and similar

--test can be given in Manage mode.
This can be used when there is an attempt to fail or remove 'faulty',
'failed' or 'detached' devices, or to re-add 'missing' devices.
If no devices were failed, removed, or re-added, then mdadm will
exit with status '2'.

Signed-off-by: NeilBrown <neilb@suse.de>
Incremental.c
Manage.c
Monitor.c
mdadm.c
mdadm.h