fstrim
Discard unused blocks on a mounted filesystem. Only supported by flash memory devices such as SSDs and microSD cards. More information: https://manned.org/fstrim.
- Trim unused blocks on all mounted partitions that support it:
sudo fstrim
- Trim unused blocks on a specified partition:
sudo fstrim
- Display statistics after trimming:
sudo fstrim
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
