carta
mksuncd(1)

mksuncd1

Add a bootable ufs partition to a filesystem image

Usage

mksuncd partition-letter isofile ufsfile

Overview

The mksuncd utility adds the file ufsfile to the end of isofile. ufsfile is assumed to be a bootable filesystem image and isofile is assumed to be something like an ISO 9660 filesystem. A Sun-style disklabel is expected to already be present at the beginning of isofile, and mksuncd will update that label so that the partition (a-h) given by partition-letter points to ufsfile within isofile.

Based on the label in isofile, that file is padded so that added files are always on cylinder boundaries. This is a requirement of the PROM.

Bugs

This program is not endian or type safe. It makes several assumptions about both based on its SPARC bias.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.