summaryrefslogtreecommitdiffstats
path: root/ReadMe.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-05-16 07:07:16 +0200
committerNeilBrown <neilb@suse.de>2013-05-16 07:07:16 +0200
commit74db60b00a43a5ae636477c10c24e923e76049ce (patch)
tree168664568b7c8d27b12ef00ad0119ac29b2c1056 /ReadMe.c
parentintel,ddf: don't require partitions when ignore_hw_compat is set. (diff)
downloadmdadm-74db60b00a43a5ae636477c10c24e923e76049ce.tar.xz
mdadm-74db60b00a43a5ae636477c10c24e923e76049ce.zip
Add --dump / --restore functionality.
This allows the metadata on a device to be saved and later restored. This can be useful before experimenting on an array that is misbehaving. Suggested-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
-rw-r--r--ReadMe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ReadMe.c b/ReadMe.c
index c4bb7301..cb0678ab 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -97,6 +97,9 @@ struct option long_options[] = {
{"offroot", 0, 0, OffRootOpt},
{"examine-badblocks", 0, 0, ExamineBB},
+ {"dump", 1, 0, Dump},
+ {"restore", 1, 0, Restore},
+
/* synonyms */
{"monitor", 0, 0, 'F'},