rdsetroot(8)

rdsetroot8

Insert disk image into ramdisk kernel

Usage

rdsetroot -s kernel

rdsetroot [-dx] kernel [disk.fs]

Overview

The rdsetroot utility inserts the file disk.fs into the reserved space inside a RAMDISK kernel. If disk.fs is not specified, rdsetroot reads from standard input.

The options are as follows:

-d

Debug.

-s

Print the size in bytes of the reserved space in the RAMDISK kernel. No insertion or extraction is attempted.

-x

Rather than inserting, extract the disk.fs image. If disk.fs is not specified, rdsetroot writes to standard output. The disk can be made accessible using vnconfig(8), filesystems can be manipulated, and finally re-inserted into the RAMDISK kernel.

Releases

17 releases since OpenBSD 6.5; the text changed 2 times.

  1. 6.5–7.2
  2. 7.3
  3. 7.4–8.0

-s since OpenBSD 7.4.

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