On Tue, May 17, 2016 at 5:24 PM, Ludovic Courtès <l...@gnu.org> wrote: > Hi! > > Danny Milosavljevic <dan...@scratchpost.org> skribis: > >> I can confirm that this works! > > Great, thanks for testing. > >> I'm using it to regularily call fstrim (one has to regularily call >> fstrim on SSDs) so the mcron behaviour of, if an appointment was >> missed, doing it at the first next availability is good for >> regularity. The man page says that trimming once a week is good. >> >> Longer term maybe there should be a way of specifying that a >> filesystem should be trimmed in a "file-system" specification. Note >> that fstrim expects the filesystem to be mounted for it to work. > > I had never thought of it, but maybe it’s a good idea. How do other > distros handle it?
FWIW, I use SSDs in all my computers and have never run fstrim. Feels a lot like the "defragment your hard drive" days. - Dave