Expand description
The [Store] holds references to three different types of
storage:
ยงOSTree
The default backend for the bootable container store; this
lives in /ostree in the physical root.
ยงcontainers-storage:
Later, bootc gained support for Logically Bound Images.
This is a containers-storage: instance that lives
in /ostree/bootc/storage
ยงcomposefs
This lives in /composefs in the physical root.
Structsยง
- Booted
Composefs - Represents a composefs-based boot environment
- Booted
Ostree - Represents an ostree-based boot environment
- Booted
Storage ๐ - Storage accessor for a booted system.
- Cached
Image ๐Status - Cached image status data used for optimization.
- Storage ๐
- A reference to a physical filesystem root, plus accessors for the different types of container storage.
Enumsยง
- Booted
Storage ๐Kind - A system can boot via either ostree or composefs; this enum allows code to handle both cases while maintaining type safety.
- Environment ๐
- Discriminated union representing the boot storage backend.
Constantsยง
- BOOTC_
ROOT ๐ - The path to the bootc root directory, relative to the physical system root
- COMPOSEFS
- The toplevel composefs directory path
- COMPOSEFS_
MODE - SYSROOT
- Path to the physical root
Functionsยง
- get_
physical_ ๐root_ and_ run - Open the physical root (/sysroot) and /run directories for a booted system.
Type Aliasesยง
- Composefs
Filesystem - Composefs
Repository - See https://github.com/containers/composefs-rs/issues/159