blkdiscard
Discards device sectors on storage devices. Useful for SSDs.
- Discard all sectors on a device, removing all data:
- Securely discard all blocks on a device, removing all data:
- Discard the first 100 MB of a device:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).