Advertisement
Ikem

fstrim

Jan 4th, 2017
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. #!/bin/sh
  2. # call fstrim-all to trim all mounted file systems which support it
  3. set -e
  4.  
  5. # This only runs on Intel and Samsung SSDs by default, as some SSDs with faulty
  6. # firmware may encounter data loss problems when running fstrim under high I/O
  7. # load (e. g.  https://launchpad.net/bugs/1259829). You can append the
  8. # --no-model-check option here to disable the vendor check and run fstrim on
  9. # all SSD drives.
  10. exec fstrim-all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement