Invocations

CachyOS:

sudo python btrfs_inode_resolver.py games-install-diff.txt \

          --subvol-mounts \

          sys-home=/home sys-root=/ sys-cache=/var/cache \

          sys-usrroot=/root local-data=/home/tim/local_data \

          local-games=/home/tim/local_data/games

Use --force to completely rescan database.

python btrfs_diff_analyser.py games-install-diff.txt \
          --scope system games \
          --steam-libraries /home/tim/.local/share/Steam /home/tim/local_data/games \
          --text report.txt \
          --json report.json --user=tim --full_anomalies

sudo mount -o subvol=@,compress=zstd,noatime,space_cache=v2,ssd /dev/sdb6 local_data

sudo mount -o subvol=@games,compress=zstd,noatime,space_cache=v2,ssd /dev/sdb6 local_data/games

Mount snapshot subvolumes for post processing.
sudo mount -o subvolid=5 /dev/disk/by-uuid/f922a0bf-3906-4424-a8ee-eccce0b21db0 /btrfs-root
sudo mount -o subvolid=5 /dev/disk/by-uuid/213548ac-8796-47bc-9afc-dce1ee90d573 /btrfs-root-local

Take snapshots.
sudo cachy-snap.sh before-install
sudo cachy-snap.sh after-install
sudo cachy-snap-diff.sh before-install after-install > Snapshots/games-install-diff.txt

sudo cachy-snap-diff.sh --list
sudo cachy-snap-diff.sh --cleanup before-install-...
sudo cachy-snap-diff.sh --cleanup after-install-...



Popular posts from this blog

Dearpygui resizable table

Fixing DNS Resolution problems with Linux Mint 19