[systemd-devel] fstrim "cron" job

Bastien Nocera hadess at hadess.net
Sat Dec 21 05:25:16 PST 2013


Hey,

I've seen that Ubuntu recently added transparent support for trimming
filesystems on SSDs:
https://blueprints.launchpad.net/ubuntu/+spec/core-1311-ssd-trimming
and in the patch for util-linux:
https://launchpadlibrarian.net/159909554/util-linux_2.20.1-5.1ubuntu11.diff.gz

(looks for fstrim-all)

I wanted to integrate that in Fedora, through a systemd daily unit. I
was wondering whether this sort of integration (I'd intend to port the
fstrim-all code to C) should be in systemd itself, or whether it should
be a unit shipped separately (in the util-linux package maybe?).

Cheers



More information about the systemd-devel mailing list