HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sfill — Securely overwrite the free space and inodes of the partition where the specified directory resides.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thesfillspacecommandoverwriteclisecurelyfree
linux

Problem

How to use the sfill command: Securely overwrite the free space and inodes of the partition where the specified directory resides. More information: <https://manned.org/sfill>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/sfill

Revisions (0)

No revisions yet.