Enable fstrim.timer to increase SDCard lifetime

fstrim timer triggers weekly to issue TRIM/DISCARD on devices that support it,
which includes SD and MMC devices.

This marks all unused diskspace as available for internal garbage collection
and wear levelling on the card.  It's preferrable to use the timer to the
discard option, as it involves a one-off cost of latency over a global slowing
down of all write or erase requests that the `discard` mount option does.
This commit is contained in:
D.S. Ljungmark 2019-11-07 17:41:17 +01:00
parent ad80fab554
commit 0d66f93ef3

View File

@ -23,6 +23,7 @@
- bettercap.service
- pwngrid-peer.service
- epd-fuse.service
- fstrim.timer
disable:
- apt-daily.timer
- apt-daily.service