mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
356 B
356 B
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:
sudo fstrim --all
- Trim unused blocks on a specified partition:
sudo fstrim {{/}}
- Display statistics after trimming:
sudo fstrim --verbose {{/}}