summaryrefslogtreecommitdiff
path: root/usr.bin/mkimg/mkimg.1
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-05-10 09:36:34 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-05-10 09:36:34 +0000
commit2dcfca637db43729c671ca6f31055f94e1f9e620 (patch)
treedba3329510fb4fbe4a36b036d79985d25351c723 /usr.bin/mkimg/mkimg.1
parent554e6778b62713515c0b85202c1b74dd75d35a58 (diff)
downloadsrc-test2-2dcfca637db43729c671ca6f31055f94e1f9e620.tar.gz
src-test2-2dcfca637db43729c671ca6f31055f94e1f9e620.zip
Notes
Diffstat (limited to 'usr.bin/mkimg/mkimg.1')
-rw-r--r--usr.bin/mkimg/mkimg.118
1 files changed, 16 insertions, 2 deletions
diff --git a/usr.bin/mkimg/mkimg.1 b/usr.bin/mkimg/mkimg.1
index e97b9fc3c1fc..4643aaf0f60b 100644
--- a/usr.bin/mkimg/mkimg.1
+++ b/usr.bin/mkimg/mkimg.1
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 7, 2015
+.Dd April 26, 2017
.Dt MKIMG 1
.Os
.Sh NAME
@@ -37,7 +37,9 @@
.Op Fl S Ar secsz
.Op Fl T Ar tracksz
.Op Fl b Ar bootcode
-.Op Fl c Ar capacity
+.Op Fl c Ar min_capacity
+.Op Fl C Ar max_capacity
+.Op Fl -capacity Ar capacity
.Op Fl f Ar format
.Op Fl o Ar outfile
.Op Fl a Ar active
@@ -125,6 +127,18 @@ given capacity, then the disk image will be larger than the capacity
given.
.Pp
The
+.Fl C
+option specifies a maximum capacity for the disk image.
+If the combined sizes of the given partitions exceed the size given with
+.Fl C ,
+image creation fails.
+.Pp
+The
+.Fl -capacity
+option is a shorthand to specify the minimum and maximum capacity at the
+same time.
+.Pp
+The
.Fl v
option increases the level of output that the
.Nm