mirror of
https://github.com/tobi/disktree.git
synced 2026-11-28 08:00:53 +00:00
The projection from #56 tested the scanned mount for being a snapshot as well as the other one. On a system booted from a Snapper snapshot, as openSUSE is by default, `/` is one, so every mark under `/var` or `/home` was called another volume's although the scan walks them as its own. Only the other mount is tested now, as `foreign_mounts` does. The bulk listing from #53 is thought to report a mount point with the attributes of the directory it covers, so its device would be the parent volume's and the walk would cross into every disk, share and system volume below the root. Directories are stated with `statat` again, as `lstat` did before; files keep the bulk path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>