summaryrefslogtreecommitdiffstats
path: root/ReadMe.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-03-27 06:38:46 +0000
committerNeil Brown <neilb@suse.de>2006-03-27 06:38:46 +0000
commit06b0d786758c63004f69948895527ca63c371525 (patch)
tree0030aa59bbe307c2f53de7761ca2fd7f736406b1 /ReadMe.c
parent313176636ee8c24cf1464cfec159d41ffcffacb3 (diff)
downloadmdadm-06b0d786758c63004f69948895527ca63c371525.tar.gz
mdadm-06b0d786758c63004f69948895527ca63c371525.tar.xz
mdadm-06b0d786758c63004f69948895527ca63c371525.zip
Allow resize to backup to a file.
To support resizing an array without a spare, mdadm now understands --backup-file= which should point to a file for storing a backup of critical data. This can be given to --grow which will create the file, or --assemble which will restore from the file if needed. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
-rw-r--r--ReadMe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ReadMe.c b/ReadMe.c
index c508a36..448e966 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -172,6 +172,8 @@ struct option long_options[] = {
{"daemonize", 0, 0, 'f'},
{"oneshot", 0, 0, '1'},
{"pid-file", 1, 0, 'i'},
+ /* For Grow */
+ {"backup-file", 1,0, 7},
{0, 0, 0, 0}
};