LINUX.ORG.RU

История изменений

Исправление fornlr, (текущая версия) :

Debian 8 has the fstrim.service and fstrim.timer available within the filesystem, but not loaded into systemd by default. You just need to copy the files over first:

sudo cp /usr/share/doc/util-linux/examples/fstrim.service /etc/systemd/system

sudo cp /usr/share/doc/util-linux/examples/fstrim.timer /etc/systemd/system

Now, you can enable the timer the same as with the other distributions:

sudo systemctl enable fstrim.timer

Исходная версия fornlr, :

Debian 8 has the fstrim.service and fstrim.timer available within the filesystem, but not loaded into systemd by default. You just need to copy the files over first:

sudo cp /usr/share/doc/util-linux/examples/fstrim.service /etc/systemd/system sudo cp /usr/share/doc/util-linux/examples/fstrim.timer /etc/systemd/system Now, you can enable the timer the same as with the other distributions:

sudo systemctl enable fstrim.timer