ostree-admin-stateroot-init(1)

ostree-admin-stateroot-init1

Initialize empty state for a given operating system

Usage

ostree admin stateroot-init STATEROOT

Overview

Initializes an new stateroot (AKA "osname") for an operating system. Ensures that the core subdirectories of /var (/tmp, /lib, /run, and /lock) exist and initialize the given STATEROOT as OSTree stateroot. Each deployment location is comprised of a single shared var and a set of deployments (chroots).

Examples

$ ostree admin stateroot-init exampleos

        ostree/deploy/exampleos initialized as OSTree stateroot

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From ostree 2026.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.