From 5cbfc38e62ec542bb82b69c6283f04edd5f7f0d8 Mon Sep 17 00:00:00 2001 From: Imbus Date: Sat, 7 Feb 2026 18:42:38 +0100 Subject: [PATCH] Add some introduction to readme and brush up the formatting --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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