kimono-koans / httm

Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even Time Machine and Restic backups!)
https://crates.io/crates/httm
Mozilla Public License 2.0
1.35k stars 29 forks source link

Fix multiple btrfs roots #114

Closed kimono-koans closed 6 months ago

kimono-koans commented 6 months ago
/dev/zd0 on /mnt type btrfs (rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/)
/dev/zd0 on /mnt/garden type btrfs (rw,relatime,ssd,space_cache=v2,subvolid=256,subvol=/garden)
/dev/zd16 on /media type btrfs (rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/)
/dev/zd16 on /media/@pot type btrfs (rw,relatime,ssd,space_cache=v2,subvolid=256,subvol=/@pot)

It's possible to have multiple btrfs roots. Here we verify that any root is the sub's underlying root.