Files
restic/internal/fuse
Johannes Truschnigg 461bddb0e8 mount: Ensure a hard link count > 0 for all files
When using `restic mount` to serve a repository via a POSIX host's file
system, all files backed up from Windows systems will show up on the
mounting host with a (hard)link count of 0.

While this is not a problem in general and most programs do not even
register this strange value, some others (such as Samba's smbd(8)) will
go the extra mile and check a file's stat() results for various
properties (such as a positive non-zero link count), and refuse to
operate if any of the reported values appear off.

Since other inode properties absent from non-POSIX backup sources are
also "faked up" (e.g., the inode number) during mount and work fine in
general, the chances of this change to be in any way harmful are
probably rather slim.
2026-04-19 13:44:18 +02:00
..
2025-11-30 11:53:23 +01:00
2025-11-30 11:53:23 +01:00
2025-11-30 11:53:23 +01:00
2025-11-30 11:53:23 +01:00
2025-11-30 11:53:23 +01:00
2025-11-30 11:53:23 +01:00
2025-11-30 11:53:23 +01:00