1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-01 20:33:40 +02:00
tldr/pages/linux/sfill.md

796 B

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