The object is to display a logically arranged "tree" diagram of subvolumes and snapshots. Seems like it would have some value.
https://github.com/CopOnTheRun/btrview
https://github.com/CopOnTheRun/btrview
stuart@office:~$ sudo btrview root Subvolume Tree: Snapshot Tree: <FS_TREE> on: /subvol @KDEneon_home on: /home ├── @grub ├── @KDEneon_home_backup ├── @KDEneon_home on: /home ├── @KDEneon_home_backup-new ├── @KDEneon2024 ├── @KDEneon_home_daily_6 ├── @KDEneon2024_home ├── @KDEneon_home_daily_5 ├── @KDEneon on: / ├── @KDEneon_home_daily_4 ├── @KDEneon_backup ├── @KDEneon_home_daily_3 ├── @KDEneon_home_backup ├── @KDEneon_home_daily_2 ├── @KDEneon_backup-new ├── @KDEneon_home_daily_1 ├── @KDEneon_home_backup-new └── @KDEneon_home_daily_0 ├── @kubuntu2404 @KDEneon on: / ├── @kubuntu2404home ├── @KDEneon_backup ├── @kubuntu2404swap ├── @KDEneon_backup-new ├── @KDEneon_daily_6 ├── @KDEneon_daily_6 ├── @KDEneon_home_daily_6 ├── @KDEneon_daily_5 ├── @KDEneon_daily_5 ├── @KDEneon_daily_4 ├── @KDEneon_home_daily_5 ├── @KDEneon_daily_3 ├── @KDEneon_daily_4 ├── @KDEneon_daily_2 ├── @KDEneon_home_daily_4 ├── @KDEneon_daily_1 ├── @KDEneon_daily_3 └── @KDEneon_daily_0 ├── @KDEneon_home_daily_3 <FS_TREE> on: /subvol ├── @KDEneon_daily_2 @grub ├── @KDEneon_home_daily_2 @KDEneon2024 ├── @KDEneon_daily_1 @KDEneon2024_home ├── @KDEneon_home_daily_1 @kubuntu2404 ├── @KDEneon_daily_0 @kubuntu2404home └── @KDEneon_home_daily_0 @kubuntu2404swap
stuart@office:~$ sudo btrview root Subvolume Tree: Snapshot Tree: <FS_TREE> on: /subvol @KDEneon_home on: /home ├── @grub ├── @KDEneon_home_backup ├── @KDEneon_home on: /home ├── @KDEneon_home_backup-new ├── @KDEneon2024 ├── @KDEneon_home_daily_6 ├── @KDEneon2024_home ├── @KDEneon_home_daily_5 ├── @KDEneon on: / ├── @KDEneon_home_daily_4 ├── @KDEneon_backup ├── @KDEneon_home_daily_3 ├── @KDEneon_home_backup ├── @KDEneon_home_daily_2 ├── @KDEneon_backup-new ├── @KDEneon_home_daily_1 ├── @KDEneon_home_backup-new └── @KDEneon_home_daily_0 ├── @kubuntu2404 @KDEneon on: / ├── @kubuntu2404home ├── @KDEneon_backup ├── @kubuntu2404swap ├── @KDEneon_backup-new ├── @KDEneon_daily_6 ├── @KDEneon_daily_6 ├── @KDEneon_home_daily_6 ├── @KDEneon_daily_5 ├── @KDEneon_daily_5 ├── @KDEneon_daily_4 ├── @KDEneon_home_daily_5 ├── @KDEneon_daily_3 ├── @KDEneon_daily_4 ├── @KDEneon_daily_2 ├── @KDEneon_home_daily_4 ├── @KDEneon_daily_1 ├── @KDEneon_daily_3 └── @KDEneon_daily_0 ├── @KDEneon_home_daily_3 <FS_TREE> on: /subvol ├── @KDEneon_daily_2 @grub ├── @KDEneon_home_daily_2 @KDEneon2024 ├── @KDEneon_daily_1 @KDEneon2024_home ├── @KDEneon_home_daily_1 @kubuntu2404 ├── @KDEneon_daily_0 @kubuntu2404home └── @KDEneon_home_daily_0 @kubuntu2404swap blade2 Subvolume Tree: Snapshot Tree: <FS_TREE> on: /mnt/blade2 <FS_TREE> on: /mnt/blade2 990pro2 Subvolume Tree: Snapshot Tree: <FS_TREE> on: /mnt/990pro2 <FS_TREE> on: /mnt/990pro2 sdb2 Subvolume Tree: Snapshot Tree: <FS_TREE> on: /mnt/sdb2 <FS_TREE> on: /mnt/sdb2 ├── @grub_ro @grub_ro ├── @KDEneon_backup @KDEneon_backup ├── @KDEneon_home_backup @KDEneon_home_backup └── @_ro @_ro root_backup Subvolume Tree: Snapshot Tree: <FS_TREE> on: /mnt/root_backup @grub ├── @grub └── @grub ├── @Ubuntu_Server_2204 <FS_TREE> on: /mnt/root_backup ├── @Kubuntu2004 @Ubuntu_Server_2204 ├── @_ro @Kubuntu2004 ├── @grub_ro @_ro ├── @grub @grub_ro ├── @KDEneon_backup @KDEneon_backup └── @KDEneon_home_backup @KDEneon_home_backup storage Subvolume Tree: Snapshot Tree: <FS_TREE> on: /mnt/storage <FS_TREE> on: /mnt/storage └── @music └── @music
Comment