Adds a new --force-device option to allow to fix with disk with same device ID.

This commit is contained in:
Andrea Mazzoleni 2013-07-26 14:50:52 +02:00
parent 4c8b79b13c
commit d8870cdd42
6 changed files with 49 additions and 10 deletions

View file

@ -41,6 +41,7 @@ struct snapraid_option {
int force_zero; /**< Forced dangerous operations of synching files now with zero size. */
int force_empty; /**< Forced dangerous operations of synching disks now empty. */
int force_uuid; /**< Forced dangerous operations of synching disks with uuid changed. */
int force_device; /**< Forced dangerous operations of using disks with save device id. */
int force_by_name; /**< Forced dangerous operations of synching a rewritten disk. */
int expect_unrecoverable; /**< Expect presence of unrecoverable error in checking or fixing. */
int expect_recoverable; /**< Expect presence of recoverable error in checking. */