Readme txt -> md
This commit is contained in:
parent
9d2645ad65
commit
008e9e7ca9
1 changed files with 0 additions and 0 deletions
31
README.txt
31
README.txt
|
|
@ -1,31 +0,0 @@
|
|||
# Simple dd-like image writer with additional security checks.
|
||||
|
||||
```
|
||||
writeimg v0.2.0, Rev. 5323932-dirty
|
||||
In honor of SwePwnage - the OG disk destroyer
|
||||
Copyright (C) 2026 Imbus, BSD-2-Clause
|
||||
Build date: 2026-02-07
|
||||
|
||||
Usage:
|
||||
writeimg [-v] -d <device> <file.img>
|
||||
|
||||
Args:
|
||||
<file.img> Binary image file
|
||||
-v Verify only
|
||||
-d device Target block device
|
||||
-h, --help Print this help message
|
||||
-n, --noconfirm Do not ask for premission
|
||||
-V, --version Print version
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
dd if=/dev/zero of=./disk.img bs=1M count=1024
|
||||
losetup -fP ./disk.img
|
||||
losetup -a
|
||||
losedup -d /dev/loop0
|
||||
|
||||
See:
|
||||
https://github.com/landley/toybox/blob/master/toys/posix/dd.c
|
||||
https://github.com/illiliti/libudev-zero
|
||||
https://github.com/LoupVaillant/Monocypher
|
||||
Loading…
Add table
Add a link
Reference in a new issue