systemd service to trim free SSD cells at boot

I mount all ext4 partitions on my solid-state disks with the discard option; this tells the filesystem to use SSD-specific low-level TRIM operations instead of normal erases (which are essentially just block re-writes). As I use my SSDs quite heavily, I like to perform batch discards every so often as well. Here’s a systemd service […]