Add some introduction to readme and brush up the formatting

This commit is contained in:
Imbus 2026-02-07 18:42:38 +01:00
parent 008e9e7ca9
commit 5cbfc38e62

View file

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