2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-30 16:53:59 +00:00
restic/changelog/0.15.2_2023-04-24/issue-4253

19 lines
925 B
Plaintext
Raw Normal View History

2023-04-23 20:09:52 +00:00
Bugfix: Minimize risk of spurious filesystem loops with `mount`
2023-04-23 10:40:29 +00:00
When a backup contains a directory that has the same name as its parent, say
2023-04-23 20:09:52 +00:00
`a/b/b`, and the GNU `find` command was run on this backup in a restic mount,
2023-04-23 10:40:29 +00:00
`find` would refuse to traverse the lowest `b` directory, instead printing
2023-04-23 20:09:52 +00:00
`File system loop detected`. This was due to the way the restic mount command
2023-04-23 10:40:29 +00:00
generates inode numbers for directories in the mount point.
The rule for generating these inode numbers was changed in 0.15.0. It has
now been changed again to avoid this issue. A perfect rule does not exist,
but the probability of this behavior occurring is now extremely small.
2023-04-23 20:09:52 +00:00
When it does occur, the mount point is not broken, and scripts that traverse
the mount point should work as long as they don't rely on inode numbers for
detecting filesystem loops.
https://github.com/restic/restic/issues/4253
https://github.com/restic/restic/pull/4255