Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement