Add some introduction to readme and brush up the formatting
This commit is contained in:
parent
008e9e7ca9
commit
5cbfc38e62
1 changed files with 10 additions and 3 deletions
13
README.md
13
README.md
|
|
@ -1,5 +1,8 @@
|
||||||
# Simple dd-like image writer with additional security checks.
|
# 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
|
writeimg v0.2.0, Rev. 5323932-dirty
|
||||||
In honor of SwePwnage - the OG disk destroyer
|
In honor of SwePwnage - the OG disk destroyer
|
||||||
|
|
@ -20,12 +23,16 @@ Args:
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
```
|
||||||
dd if=/dev/zero of=./disk.img bs=1M count=1024
|
dd if=/dev/zero of=./disk.img bs=1M count=1024
|
||||||
losetup -fP ./disk.img
|
losetup -fP ./disk.img
|
||||||
losetup -a
|
losetup -a
|
||||||
losedup -d /dev/loop0
|
losedup -d /dev/loop0
|
||||||
|
```
|
||||||
|
|
||||||
|
## Inspiration
|
||||||
|
|
||||||
See:
|
See:
|
||||||
https://github.com/landley/toybox/blob/master/toys/posix/dd.c
|
- https://github.com/landley/toybox/blob/master/toys/posix/dd.c
|
||||||
https://github.com/illiliti/libudev-zero
|
- https://github.com/illiliti/libudev-zero
|
||||||
https://github.com/LoupVaillant/Monocypher
|
- https://github.com/LoupVaillant/Monocypher
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue