writeimg/writeimg.1
2026-02-13 17:30:42 +01:00

38 lines
748 B
Groff

.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