diff options
author | NeilBrown <neilb@suse.de> | 2013-05-16 07:07:16 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-05-16 07:07:16 +0200 |
commit | 74db60b00a43a5ae636477c10c24e923e76049ce (patch) | |
tree | 168664568b7c8d27b12ef00ad0119ac29b2c1056 /ReadMe.c | |
parent | intel,ddf: don't require partitions when ignore_hw_compat is set. (diff) | |
download | mdadm-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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'}, |