mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 05:10:16 -05:00
Allow disks not supporting physical offsets.
This commit is contained in:
parent
ea49d5dd4b
commit
05b17e5f0b
3 changed files with 10 additions and 1 deletions
|
|
@ -1375,7 +1375,8 @@ void state_scan(struct snapraid_state* state, int output)
|
|||
if (state->opt.force_order == SORT_PHYSICAL && file->size != 0) {
|
||||
if (phy_file_last != 0 && file->physical == phy_last && phy_last != FILEPHY_WITHOUT_OFFSET) {
|
||||
/* if verbose, prints the list of duplicates */
|
||||
if (state->opt.verbose) {
|
||||
/* if they are supposed real offsets */
|
||||
if (state->opt.verbose && phy_last != FILEPHY_UNREPORTED_OFFSET) {
|
||||
fprintf(stderr, "WARNING! Files '%s%s' and '%s%s' have the same physical offset %"PRId64".\n", disk->dir, phy_file_last->sub, disk->dir, file->sub, phy_last);
|
||||
}
|
||||
++phy_dup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue