Files
cheatsheet-tldr/tldr/linux/sfill
2025-08-17 00:22:45 +00:00

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}}`