Module sysroot

Module sysroot 

Source
Expand description

Helpers for interacting with sysroots.

Structs§

Stateroot
Metadata about a stateroot.
SysrootLock
A locked system root.

Enums§

StaterootKind
A stateroot can match our auto “state-” prefix, or be manual.

Constants§

AUTO_STATEROOT_PREFIX 🔒
We may automatically allocate stateroots, this string is the prefix.

Functions§

allocate_new_stateroot
Given a set of stateroots, allocate a new one
list_stateroots
Enumerate stateroots, which are basically the default place for /var.
parse_auto_stateroot_name 🔒
Given a string, if it matches the form of an automatic state root, parse it into its . pair.
read_stateroot 🔒
Load metadata for a stateroot
sysroot_fd
Access the file descriptor for a sysroot