blkdiscard Command Examples

Discards device sectors on storage devices. Useful for SSDs. More information: https://manned.org/blkdiscard.

blkdiscard {{/dev/device}}

blkdiscard --secure {{/dev/device}}

blkdiscard --length {{100MB}} {{/dev/device}}