mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 23:22:08 +02:00

* aurvote: add Chinese translation * balooctl: add Chinese translation * beep: add Chinese translation * betterlockscreen: add Chinese translation * binwalk: add Chinese translation * binwise: add Chinese translation * blkdiscard: add Chinese translation * blkid: add Chinese translation * bluetoothctl: add Chinese translation * bluetoothd: add Chinese translation * bmon: add Chinese translation * bpftrace: add Chinese translation * bpytop: add Chinese translation * brctl: add Chinese translation * brew: add Chinese translation * commit suggestion
16 lines
404 B
Markdown
16 lines
404 B
Markdown
# blkdiscard
|
|
|
|
> 丢弃存储设备上的设备扇区。对 SSD 有用。
|
|
> 更多信息:<https://manned.org/blkdiscard>.
|
|
|
|
- 丢弃设备上的所有扇区,删除所有数据:
|
|
|
|
`blkdiscard /dev/{{设备名}}`
|
|
|
|
- 安全地丢弃设备上的所有块,删除所有数据:
|
|
|
|
`blkdiscard --secure /dev/{{设备名}}`
|
|
|
|
- 丢弃设备的前 100 MB:
|
|
|
|
`blkdiscard --length {{100MB}} /dev/{{设备名}}`
|