Page MenuHomeFreeBSD

D60451.1795155200.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D60451.1795155200.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
@@ -22,7 +22,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 29, 2026
+.Dd October 21, 2026
.Dt MKIMG 1
.Os
.Sh NAME
@@ -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
Fri, Nov 20, 6:13 AM (4 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41215304
Default Alt Text
D60451.1795155200.diff (1 KB)

Event Timeline