mintydroid
Expert Member
- Joined
- Aug 8, 2013
- Messages
- 1,872
- Reaction score
- 2
Noob question. Is trim enabled by default under Linux Mint? I have found this under /etc/cron.weekly/fstrim. Both my linux pc's have ssd's which aren't Intel or Samsung. Here's the code. Is this sufficient?
Code:
#!/bin/sh
# call fstrim-all to trim all mounted file systems which support it set -e
# This only runs on Intel and Samsung SSDs by default, as some SSDs with faulty
# firmware may encounter data loss problems when running fstrim under high I/O
# load (e. g. https://launchpad.net/bugs/1259829). You can append the
# --no-model-check option here to disable the vendor check and run fstrim on
# all SSD drives.
exec fstrim-all