Verify the CRC of content files after writing them

This commit is contained in:
Andrea Mazzoleni 2015-10-28 22:04:04 +01:00
parent 0a89c6d196
commit 204656b129
3 changed files with 162 additions and 24 deletions

View file

@ -20,6 +20,8 @@ SnapRAID HISTORY
uses 17 bytes of memory, instead of the previous 28 bytes
(for 32 bit) or 36 bytes (for 64 bit).
This could result is a memory saving of up the 50%.
* When writing content files, always verify them before
replacing the previous ones.
* Extends the -D, --force-device option to ignore more
erroneous conditions in the 'fix' command, like unaccessible
disks, or disks sharing the same physical device.