Document the -y option as a unit test option.
Add missing -v (and -y) to the usage message. Requested by: eadler@
This commit is contained in:
parent
1ee0f08975
commit
264f86e1ad
@ -24,12 +24,12 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd July 2, 2014
|
.Dd July 4, 2014
|
||||||
.Dt MKIMG 1
|
.Dt MKIMG 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm mkimg
|
.Nm mkimg
|
||||||
.Nd "utility to make a disk image"
|
.Nd "utility to make disk images"
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl H Ar heads
|
.Op Fl H Ar heads
|
||||||
@ -40,6 +40,7 @@
|
|||||||
.Op Fl f Ar format
|
.Op Fl f Ar format
|
||||||
.Op Fl o Ar outfile
|
.Op Fl o Ar outfile
|
||||||
.Op Fl v
|
.Op Fl v
|
||||||
|
.Op Fl y
|
||||||
.Fl s Ar scheme
|
.Fl s Ar scheme
|
||||||
.Fl p Ar partition
|
.Fl p Ar partition
|
||||||
.Op Fl p Ar partition ...
|
.Op Fl p Ar partition ...
|
||||||
@ -111,6 +112,16 @@ option increases the level of output that the
|
|||||||
.Nm
|
.Nm
|
||||||
utility prints.
|
utility prints.
|
||||||
.Pp
|
.Pp
|
||||||
|
The
|
||||||
|
.Op Fl y
|
||||||
|
option is used for testing purposes only and is not to be used in production.
|
||||||
|
When present, the
|
||||||
|
.Nm
|
||||||
|
utility will generate predictable values for Universally Unique Identifiers
|
||||||
|
(UUIDs) and time stamps so that consecutive runs of the
|
||||||
|
.Nm
|
||||||
|
utility will create images that are identical.
|
||||||
|
.Pp
|
||||||
For a complete list of supported partitioning schemes or supported output
|
For a complete list of supported partitioning schemes or supported output
|
||||||
format, or for a detailed description of how to specify partitions, run the
|
format, or for a detailed description of how to specify partitions, run the
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -75,6 +75,8 @@ usage(const char *why)
|
|||||||
fprintf(stderr, "\t-o <file>\t- file to write image into\n");
|
fprintf(stderr, "\t-o <file>\t- file to write image into\n");
|
||||||
fprintf(stderr, "\t-p <partition>\n");
|
fprintf(stderr, "\t-p <partition>\n");
|
||||||
fprintf(stderr, "\t-s <scheme>\n");
|
fprintf(stderr, "\t-s <scheme>\n");
|
||||||
|
fprintf(stderr, "\t-v\t\t- increase verbosity\n");
|
||||||
|
fprintf(stderr, "\t-y\t\t- [developers] enable unit test\n");
|
||||||
fprintf(stderr, "\t-H <num>\t- number of heads to simulate\n");
|
fprintf(stderr, "\t-H <num>\t- number of heads to simulate\n");
|
||||||
fprintf(stderr, "\t-P <num>\t- physical sector size\n");
|
fprintf(stderr, "\t-P <num>\t- physical sector size\n");
|
||||||
fprintf(stderr, "\t-S <num>\t- logical sector size\n");
|
fprintf(stderr, "\t-S <num>\t- logical sector size\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user