Options (2)
-s, --securebooleanSecurely discard all blocks on a device, removing all data
Example:
blkdiscard {{[-s|--secure]}} {{/dev/device}}-l, --lengthbooleanDiscard the first 100 MB of a device
Example:
blkdiscard {{[-l|--length]}} {{100MB}} {{/dev/device}}Examples (3)
Discard all sectors on a device, removing all data
blkdiscard /dev/deviceSecurely discard all blocks on a device, removing all data
blkdiscard [-s|--secure] /dev/deviceDiscard the first 100 MB of a device
blkdiscard [-l|--length] 100MB /dev/devicemade by @shridhargupta | data from tldr-pages