Remove the requirement to snapshot content files

The new content file format now includes metadata for previous versions
of files. This allows the fix command to access historical file data from
snapshots as needed, ensuring recovery even if the live filesystem has
changed or the file was deleted during a sync.
This commit is contained in:
Andrea Mazzoleni 2026-04-28 00:35:15 +02:00
parent 786804ba41
commit cbb4ac831a
13 changed files with 209 additions and 368 deletions

View file

@ -1594,7 +1594,7 @@ static int scan_sub(struct snapraid_scan* scan, int level, int is_diff, char* pa
* In Unix don't follow mount points in different devices
* in Windows we are already skipping them reporting them as special files
*/
if ((uint64_t)st->st_dev != disk->device) {
if ((uint64_t)st->st_dev != disk->dir_device) {
log_tag("%s:%u:%s:%s: Ignoring mount point.\n", es(ESOFT), 0, disk->name, esc_tag(path_next));
log_error(ESOFT, "WARNING! Ignoring mount point '%s' because it appears to be in a different device\n", path_next);
} else