diff --git a/README.md b/README.md index 2af80c3..9d84da2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Simple dd-like image writer with additional security checks. +This tool verifies your image automatically. The block size is currently set to +1 MiB, which should be enough to avoid trouble. + ``` writeimg v0.2.0, Rev. 5323932-dirty In honor of SwePwnage - the OG disk destroyer @@ -20,12 +23,16 @@ Args: ## Testing +``` dd if=/dev/zero of=./disk.img bs=1M count=1024 losetup -fP ./disk.img losetup -a losedup -d /dev/loop0 +``` + +## Inspiration See: - https://github.com/landley/toybox/blob/master/toys/posix/dd.c - https://github.com/illiliti/libudev-zero - https://github.com/LoupVaillant/Monocypher + - https://github.com/landley/toybox/blob/master/toys/posix/dd.c + - https://github.com/illiliti/libudev-zero + - https://github.com/LoupVaillant/Monocypher