Adds a new -C, --gen-conf option to generate the configuration file from the content file.

This commit is contained in:
Andrea Mazzoleni 2013-09-21 15:53:46 +02:00
parent c956f55d62
commit c5d0aa01c1
7 changed files with 124 additions and 7 deletions

View file

@ -43,7 +43,7 @@ snapraid [\(hyc, \(hy\(hyconf CONFIG]
.PP
.PD
.PP
snapraid [\(hyV, \(hy\(hyversion] [\(hyh, \(hy\(hyhelp]
snapraid [\(hyV, \(hy\(hyversion] [\(hyh, \(hy\(hyhelp] [\(hyC, \(hy\(hygen\(hyconf CONTENT]
.PD 0
.PP
.PD
@ -689,6 +689,15 @@ It\(cqs present mainly for advanced manual recovering.
Processes only the specified number of blocks.
It\(cqs present mainly for advanced manual recovering.
.TP
.B \(hyC, \(hy\(hygen\(hyconf CONTENT_FILE
Generates a dummy configuration file from an existing
content file.
The configuration file is written in the standard output,
and it doesn\(cqt overwrite an existing one.
This configuration file also contains the information
needed to reconstruct the disk mount points, in case you
lose the entire system.
.TP
.B \(hyv, \(hy\(hyverbose
Prints more information in the processing.
.TP