Linux command
sfill 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Securely wipe
sfill /path/to/mounted_disk
Reduced security wipe
sfill -l -v /path/to/mounted_disk
Fastest wipe
sfill -ll -v /path/to/mounted_disk
Example
sfill -I /path/to/mounted_disk
Example
sfill -i /path/to/mounted_disk
说明
sfill securely overwrites the free space and inodes of a partition where the specified directory resides. It uses multiple passes to prevent recovery of previously deleted files.
参数
- -l
- Lessens security. Only two passes are written: one with 0xff and a final one with random values.
- -ll
- Lessens security even further. Only one random pass is written.
- -v
- Verbose mode; show progress
- -I
- Overwrite only free disk space, not inodes
- -i
- Overwrite only free inodes, not disk space
- -f
- Fast and insecure mode. No /dev/urandom, no synchronize mode.
- -z
- Final overwrite with zeros instead of random data
FAQ
What is the sfill command used for?
sfill securely overwrites the free space and inodes of a partition where the specified directory resides. It uses multiple passes to prevent recovery of previously deleted files.
How do I run a basic sfill example?
Run `sfill /path/to/mounted_disk` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l do in sfill?
Lessens security. Only two passes are written: one with 0xff and a final one with random values.