mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
888 B
Plaintext
30 lines
888 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# sfill
|
|
|
|
> Securely overwrite the free space and inodes of the partition where the specified directory resides.
|
|
> More information: <https://manned.org/sfill>.
|
|
|
|
- Overwrite free space and inodes of a disk with 38 writes (slow but secure):
|
|
|
|
`sfill /{{path/to/mounted_disk_directory}}`
|
|
|
|
- Overwrite free space and inodes of a disk with 6 writes (fast but [l]ess secure) and show status ([v]erbose):
|
|
|
|
`sfill -l -v /{{path/to/mounted_disk_directory}}`
|
|
|
|
- Overwrite free space and inodes of a disk with 1 write (very fast but [l]ess secure [v]erbose) and show status:
|
|
|
|
`sfill -ll -v /{{path/to/mounted_disk_directory}}`
|
|
|
|
- Overwrite only free space of a d[I]sk:
|
|
|
|
`sfill -I /{{path/to/mounted_disk_directory}}`
|
|
|
|
- Overwrite only free [i]nodes of a disk:
|
|
|
|
`sfill -i /{{path/to/mounted_disk_directory}}`
|