btrfs-snapshot-diff icon indicating copy to clipboard operation
btrfs-snapshot-diff copied to clipboard

Ramen merge attempt #1 (Print subvolume path alongside subvolume ID)

Open Ramen-LadyHKG opened this issue 5 months ago • 0 comments

Hello,

Thank you for your project! I've found it extremely useful for checking the real size usage of each btrfs subvolume/snapshot. However, while using the latest version, I noticed a few areas where the user experience could be improved.

In particular, the script currently displays subvolume IDs without any clear reference to what each ID represents. This forces users to repeatedly run sudo btrfs subvolume list / to match IDs with their paths, which can be quite inconvenient.

https://github.com/Ramen-LadyHKG/btrfs-subvolume-size-diff-forked To address this, I’ve added a feature to print the btrfs subvolume path alongside its ID directly within the script, making it easier to identify each subvolume or snapshot.

Additionally, I’ve made some minor changes, including switching to README_HK.md and fixing some typos.

My intention is not to replace your original work, but to contribute back by merging these improvements into your repository. I believe this enhancement would benefit the broader community of users.

Looking forward to your feedback!

Best regards, Ramen-LadyHKG

Ramen-LadyHKG avatar Sep 14 '24 05:09 Ramen-LadyHKG