OSTREE-INIT(1)
π NAME π
ostree-init - Initialize a new empty repository. This is the OSTREE INIT(1) manual, bestie, and it's giving fresh-repo main character energy π¦
β¨ SYNOPSIS β¨
ostree init [OPTIONS...]
π DESCRIPTION π
It creates a brand-new empty repository. That's the whole vibe. β¨
π OPTIONS π
--mode="MODE"β picks the mode for your new repo. Valid modes arebare,bare-user,bare-user-only, andarchive. The default isbare, periodt. Heads up: if you choosearchive, the repository configuration file will actually havearchive-z2, because that's the historical name β iykyk. The manual has the full differences between these modes, but the quick tea is:barestores files as they are, so they can be directly hardlinked.bare-useruses extended attributes to store ownership and xattr information, allowing non-root operations.bare-user-onlydoes not store ownership information.archivestores files compressed, to be served over the network.
--collection-id=COLLECTION-IDβ sets the collection ID of the repository. Remotes in clones of this repository must configure the same value in order to pull refs which originated in this repository over peer to peer.
This collection ID must be persistent and globally unique. It is formatted as a reverse DNS name (like a D-Bus interface). It must be set to a reverse DNS domain under your control.
This option may be omitted (the default) to leave peer to peer distribution unsupported for the repository. A collection ID may be added to an existing repository in future to enable peer to peer distribution from that point onwards.
π¨ Important caveat, no cap: if the collection ID is changed for the repository in future, peer to peer distribution of refs from the repository will break for all peers who do not update their remote configuration to the new collection ID. π
π cute sign-off: source/version is OSTree, and the footer's date slot is empty β so no fake timestamp energy here, fr fr. π«Ά
π¦ 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