fstrim
Discard unused blocks on a mounted filesystem.
Only supported by flash memory devices such as SSDs and microSD cards.
- Trim unused blocks on all mounted partitions that support it:
- Trim unused blocks on a specified partition:
- Display statistics after trimming:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).