Crate bootc_initramfs_setup

Crate bootc_initramfs_setup 

Source
Expand description

Mount helpers for bootc-initramfs

Structsยง

Args
Command-line arguments
Config ๐Ÿ”’
MountAttr ๐Ÿ”’
MountConfig
Configuration for mount operations
RootConfig ๐Ÿ”’

Enumsยง

MountType
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