diff --git a/writeimg.1 b/writeimg.1 new file mode 100644 index 0000000..017796f --- /dev/null +++ b/writeimg.1 @@ -0,0 +1,38 @@ +.TH WRITEIMG 1 "February 2026" "writeimg" "User Commands" +.SH NAME +writeimg \- Write an image to a block device +.SH SYNOPSIS +.B writeimg +\fB\-d\fR \fIDEVICE\fR \fIIMAGE\fR +.br +.B writeimg +\fB\-\-device\fR \fIDEVICE\fR \fIIMAGE\fR + +.SH DESCRIPTION +.B writeimg +reads the input +.I IMAGE +and writes its contents to +.I DEVICE + +The output device must be specified explicitly using the +.B \-d +or +.B \-\-device +option. The image file is given as a positional argument. +.SH OPTIONS +.TP +.BR \-d ", " \-\-device" " DEVICE +Device to write to. +.TP +.BR \-n ", " \-\-noconfirm +Do not require confirmation from user. +.TP +.BR \-v ", " \-\-verify +Verify only, do not write +.SH EXAMPLES +Write an image to a block device: +.PP +.nf + writeimg -d /dev/sdx file.img +.fi