10th November 2016, 9:21
(9th November 2016, 16:08)AJSlye Wrote: I'm not sure running that on every boot is such a great idea, this will greatly diminish your SSD drives lifespan.
Your advice greatly surprised me, as i'd setup my SSDs this way a couple of years ago [based on what i believed to be a reputable reference; https://sites.google.com/site/easylinuxtipsproject/ssd]. However, when i first bookmarked that page, it was written for Ubuntu 14.04 & Mint 17.x [the latter of which was my Tower & Lappy distros then], & it specifically recommended the preferability for routine boot trimming via rc.local compared to the weekly cron job or especially not the older option of discard in /etc/fstab. To my amazement when i returned to this site just now in prep for this reply, i saw that the author had updated it for Ubuntu 16.04 & Mint 18, & explicitly reversed his earlier recommendation, due to systemd. OMZ! So i've now removed those lines, & after completing this reply, will try another reboot in hope of a better response.
Thank you for challenging my method, as i'd otherwise not have realised my method had become superseded.
Just as a fyi though, my usual nightly practice is to Suspend my PCs not shutdown, hence the following mornings i Resume them not Boot them, thus in practice the rc.local file trimming would have been occurring far less frequently than you might have imagined [with associated reduction of SSD wear].