This might be very specific but I got tired of diving into fstab and sorting out my btrfs pool every distro hop so I made a script to take care of it. It’s based on bazzite’s file structure and Flatpak permissions.
This might be very specific but I got tired of diving into fstab and sorting out my btrfs pool every distro hop so I made a script to take care of it. It’s based on bazzite’s file structure and Flatpak permissions.
If you were curious what the gaming optimized options were, here is the snippet from the script.
TRUE noatime "Do not update access times (speeds up reads)" \ TRUE ssd "Enable SSD optimizations" \ TRUE space_cache=v2 "Improved space cache" \ TRUE discard=async "Asynchronous TRIM" \ FALSE compress=zstd:1 "Zstandard compression (space-saving, may slow access)"
Yeah nothing ground breaking these just gave my pool the best benchmarks with fio
Asynchronous trim is interesting to see in a performance optimized config. I remember it actually being slower at deleting files and causing more ware on SSDs that periodic trim.