Expand description
Mount helpers for bootc-initramfs
Structsยง
- Args
- Command-line arguments
- Config ๐
- Mount
Attr ๐ - Mount
Config - Configuration for mount operations
- Root
Config ๐
Enumsยง
- Mount
Type - Types of mounts supported by the configuration
Constantsยง
- MOUNT_
ATTR_ ๐RDONLY
Functionsยง
- bind_
mount ๐ - ensure_
dir ๐ - gpt_
workaround - Workaround for /dev/gpt-auto-root
- mount_
at_ wrapper - Wrapper around [
composefs::mount::mount_at] - mount_
composefs_ image - Prepares a floating mount for composefs and returns the fd
- mount_
setattr ๐ - Set mount attributes using mount_setattr syscall
- mount_
subdir - Mounts a subdirectory with the specified configuration
- mount_
tmpfs ๐ - open_
dir - Wrapper around [
rustix::fs::openat] - open_
root_ ๐fs - overlay_
state ๐ - overlay_
transient - Mounts a transient overlayfs with passed in fd as the lowerdir
- set_
mount_ ๐readonly - Set mount to readonly
- setup_
root - Sets up /sysroot for switch-root