Chat about just about anything else
- Level 5
- Posts: 969
- Joined: Wed Jun 06, 2018 8:12 pm
- Location: Mile High, Green State! (Denver, CO;)
rene wrote: ⤴
Mon Jan 14, 2019 12:20 pm
I believe you may have at one point bumped into viewtopic.php?f=49&t=282032&hilit=override#p1555681
or similar and decided to experiment. Simply deleting the /etc/systemd/system/fstrim.timer directory or more specifically its contained override.conf should get properly rid of it.
Thank you rene, for clarifying as well maintaining interest in thread and helping sort it all out!
Indeed I had made the override and thread mentioned pointed me to the reminder:
https://easylinuxtipsproject.blogspot.c ... html#ID8.2
Code: Select all
anyuser@f023:~$ sudo rm -v /etc/systemd/system/fstrim.timer.d/override.conf
[sudo] password for anyuser:
anyuser@f023:~$ sudo systemctl daemon-reload
anyuser@f023:~$ systemctl cat fstrim.timer
Description=Discard unused blocks once a week
done and done! Weekly and automated is good enough for me striking a good balance between ensuring it is done periodically without having it done more often than is needed. more awesomesauce for my local commands cheatsheet
LM19.1 Cinnamon 4.0.9, kernel 4.18.0-15 x86_64
HP15 Laptop: 2Ghz Celeron quad core, 1TB 860 Evo SSD, 8GB Timetec RAM
My go to sites, besides this forum:
(start here! - EasyLinuxTips project
then go Learn Linux-fu!
- Level 7
- Posts: 1557
- Joined: Tue Feb 21, 2017 8:13 pm
- Location: Alamogordo, New Mexico, USA
one quick question...is there any real difference in these 2 different manual fstrim command codes...the first one was provided here in the posts regarding this subject, the second one was provided in pjotrs easy linux blog, they both appear to work, i just want to know if one does anything different then the other...thanks in advance...DAMIEN
ORDO AB CHAO
- Level 5
- Posts: 759
- Joined: Sat Jul 21, 2018 11:14 am
- Location: Utopia
The first one will run on all the mounted partitions/filesystems that are supported, if there are some more than the /, like a separate home or data partitions etc.
The second one will run only on the / partition.