mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
fix(deck): Explicitly set discard mode due to upstream kernel making async the default in 6.2
This commit is contained in:
parent
1a9533c02c
commit
b363bef4e9
@ -12,7 +12,7 @@ if [[ $(grep "compress=zstd" /etc/fstab) ]]; then
|
||||
echo "Applying fstab param adjustments"
|
||||
if grep -q '64GB' <<< $(lsblk -o MODEL); then
|
||||
echo "64GB eMMC detected"
|
||||
sed -i 's/compress=zstd:1/noatime,lazytime,compress-force=zstd:3,space_cache=v2/g' /etc/fstab
|
||||
sed -i 's/compress=zstd:1/noatime,lazytime,commit=5,discard=sync,compress-force=zstd:3,space_cache=v2/g' /etc/fstab
|
||||
else
|
||||
sed -i 's/compress=zstd:1/noatime,lazytime,commit=120,discard=async,compress-force=zstd:1,space_cache=v2/g' /etc/fstab
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user