Page MenuHomeFreeBSD

D60451.id189010.diff
No OneTemporary

D60451.id189010.diff

diff --git a/usr.bin/mkimg/mkimg.1 b/usr.bin/mkimg/mkimg.1
--- a/usr.bin/mkimg/mkimg.1
+++ b/usr.bin/mkimg/mkimg.1
@@ -316,8 +316,8 @@
A specification that is a single dash indicates an unused partition entry.
Otherwise, a partition specification has the following format:
.Bd -literal -offset indent
-<type>[/<label>]::<size>[:[+]<offset>]
-<type>[/<label>]:=<file>[:[+]<offset>]
+<type>[/<label>]::<size>[:[+]<offset>][%<align>]
+<type>[/<label>]:=<file>[:[+]<offset>][%<align>]
<type>[/<label>]:-<cmd>
-
.Ed
@@ -351,6 +351,24 @@
absolute offset from the start of the image.
The value follows the same numeric conventions as
.Cm size .
+.It Cm align
+an optional alignment for the
+.Cm size
+and
+.Cm file
+forms.
+It is an error to specify an absolute
+.Cm offset
+which is not a multiple of
+.Cm align .
+When a relative
+.Cm offset
+is specified in combination with
+.Cm align
+the offset is applied first and then additional padding is added to reach the
+requested alignment.
+The value follows the same numeric conventions as
+.Cm size .
.It Cm -
an unused partition entry.
.El

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 10, 10:11 PM (1 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40455173
Default Alt Text
D60451.id189010.diff (1 KB)

Event Timeline