From 228e3cc92e45e21b921c3459040f57ff767b6a3b Mon Sep 17 00:00:00 2001 From: Mirko Conti Date: Mon, 19 Apr 2021 23:40:51 +0200 Subject: [PATCH] sfill: add page (#5745) --- pages/linux/sfill.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/sfill.md diff --git a/pages/linux/sfill.md b/pages/linux/sfill.md new file mode 100644 index 000000000..e25e00adb --- /dev/null +++ b/pages/linux/sfill.md @@ -0,0 +1,24 @@ +# sfill + +> Securely overwrite the free space and inodes of the partition where the specified directory resides. +> More information: . + +- 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 less secure) and show status: + +`sfill -l -v {{/path/to/mounted_disk_directory}}` + +- Overwrite free space and inodes of a disk with 1 write (very fast but insecure) and show status: + +`sfill -ll -v {{/path/to/mounted_disk_directory}}` + +- Overwrite only free space of a disk: + +`sfill -I {{/path/to/mounted_disk_directory}}` + +- Overwrite only free inodes of a disk: + +`sfill -i {{/path/to/mounted_disk_directory}}`