OSTREE-ADMIN-STATEROOT-INIT(1)
💖 NAME 💖
okay so bestie, welcome to the ostree-admin-stateroot-init page in the OSTREE ADMIN STATERO(1) manual. The name tea is: ostree-admin-stateroot-init — initialize empty state for a given operating system. periodt. 💅
✨ SYNOPSIS ✨
ostree admin stateroot-init {STATEROOT}
🦋 DESCRIPTION 🦋
So what’s the vibe? It initializes a new stateroot (AKA "osname") for an operating system. It makes sure the core subdirectories of /var exist — that’s /tmp, /lib, /run, and /lock — and it initializes the given STATEROOT as an OSTree stateroot. slay. 🌈
Also, for the record: each deployment location is comprised of a single shared var and a set of deployments (chroots). That’s the whole structural tea, no cap 🍵.
🎀 EXAMPLE 🎀
Here’s the iconic little demo:
$ ostree admin stateroot-init exampleos
ostree/deploy/exampleos initialized as OSTree stateroot
cute sign-off time 🫶: this page’s source/version is OSTree, and it’s chillin’ in manual section OSTREE ADMIN STATERO(1). The original footer didn’t show a date, so I’m not gonna invent one — no cap, bestie 💅✨
📦 where this page comes from
- arch rolling: ostree 2026.6-1 · LGPL-2.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms