MCPcopy Create free account

hub / github.com/AerynOS/blsforme / functions

Functions92 in github.com/AerynOS/blsforme

↓ 33 callersMethoditer
Iterate all mount points (no copy)
crates/topology/src/disk/mounts.rs:82
↓ 17 callersMethodjoin_insensitive
(&self, path: P)
blsforme/src/file_utils.rs:24
↓ 15 callersMethodpath
When we don't need the type of the root..
blsforme/src/lib.rs:90
↓ 4 callersMethodas_str
Convert the variable into a static string representation for the EFI variable name
blsforme/src/bootloader/systemd_boot/interface.rs:66
↓ 4 callersMethodesp
Return the EFI System Partition (UEFI only)
blsforme/src/bootenv.rs:171
↓ 4 callersMethodxbootldr
Return the XBOOTLDR partition (UEFI only)
blsforme/src/bootenv.rs:176
↓ 3 callersMethodbuild
Return a newly built Probe Note: All input paths will be verified
crates/topology/src/disk/builder.rs:58
↓ 3 callersMethodcmd_line
Generate a working "root=" style boot line
crates/topology/src/disk/device.rs:79
↓ 3 callersFunctioncmdline_snippet
Read a cmdline snippet from a file, which supports comments (`#`) and concatenates lines into a single string.
blsforme/src/file_utils.rs:135
↓ 3 callersMethodget_device_from_mountpoint
Resolve a device by mountpoint
crates/topology/src/disk/probe.rs:43
↓ 3 callersMethodget_device_parent
Retrieve the parent device, such as the disk of a partition, if possible
crates/topology/src/disk/probe.rs:69
↓ 3 callersMethodget_device_superblock
Scan superblock of the device for `UUID=` parameter
crates/topology/src/disk/probe.rs:116
↓ 3 callersMethodget_rootfs_device
Determine the composite rootfs device for the given mountpoint, building a set of superblocks and necessary `/proc/cmdline` arguments
crates/topology/src/disk/probe.rs:128
↓ 3 callersMethodos_namespace
Retrieve the namespace for files on the boot partition(s)
blsforme/src/kernel.rs:128
↓ 2 callersMethodbootloader
factory - create bootloader instance
blsforme/src/manager.rs:228
↓ 2 callersFunctionchanged_files
Find out which files in the set changed Given a slice containing tuples of pathbufs, return an allocated set of cloned pathbuf tuples (pairs) known t
blsforme/src/file_utils.rs:70
↓ 2 callersFunctioncopy_atomic_vfat
Copy source file to dest file, handling vfat oddities. Long story short we always set a temporary file name up, then delete the target file, and fina
blsforme/src/file_utils.rs:88
↓ 2 callersMethoddiscover_system_kernels
Given a set of kernel-like paths, yield all potential kernels within them This should be a set of `/usr/lib/kernel` paths. Use glob or appropriate to
blsforme/src/kernel.rs:109
↓ 2 callersMethodget_device_path
Determine which device "booted", ie the ESP on which systemd-boot lives
blsforme/src/bootloader/systemd_boot/interface.rs:110
↓ 2 callersMethodget_ucs2_string
Grab a UCS2 string from efivars
blsforme/src/bootloader/systemd_boot/interface.rs:116
↓ 2 callersMethodinstall
Install a kernel to the ESP or XBOOTLDR, write a config for it
blsforme/src/bootloader/systemd_boot/mod.rs:241
↓ 2 callersMethodinstalled_kernel_name
Generate an installed name for the kernel, used by bootloaders Right now this only returns CBM style IDs
blsforme/src/entry.rs:143
↓ 2 callersMethodmount_vfat_partition
(&self, source: &Path, target: &Path)
blsforme/src/manager.rs:190
↓ 2 callersFunctionscan_os_release
(root: impl AsRef<Path>)
blsctl/src/main.rs:73
↓ 2 callersMethodwith_devfs
devfs directory
crates/topology/src/disk/builder.rs:41
↓ 2 callersMethodwith_procfs
procfs directory
crates/topology/src/disk/builder.rs:49
↓ 2 callersMethodwith_sysfs
sysfs directory
crates/topology/src/disk/builder.rs:33
↓ 1 callersFunctioncheck_permissions
Bail-out permission check for execution
blsctl/src/main.rs:204
↓ 1 callersMethodcleanup_stale_entries
Clean up stale loader configs and kernel directories
blsforme/src/bootloader/systemd_boot/mod.rs:151
↓ 1 callersFunctionfiles_identical
Compare two files with blake3 to see if they differ
blsforme/src/file_utils.rs:42
↓ 1 callersMethodgenerate_entry
Generate a usable loader config entry
blsforme/src/bootloader/systemd_boot/mod.rs:321
↓ 1 callersMethodget_device_chain
When given a path in `/dev` we attempt to resolve the full chain for it. Note: This does NOT include the initially passed device.
crates/topology/src/disk/probe.rs:87
↓ 1 callersMethodget_device_guid
For GPT disks return the PartUUID (GUID)
crates/topology/src/disk/probe.rs:161
↓ 1 callersMethodget_device_part_uuid
Grab the PartUUID for the ESP-booting device
blsforme/src/bootloader/systemd_boot/interface.rs:105
↓ 1 callersMethodget_kernel_dir
Get the kernel directory for a specific entry
blsforme/src/bootloader/systemd_boot/mod.rs:63
↓ 1 callersMethodinit_scan
Initial startup loads TODO: If requested, pvscan/vgscan/lvscan
crates/topology/src/disk/probe.rs:35
↓ 1 callersFunctioninspect_root
(config: &Configuration)
blsctl/src/main.rs:144
↓ 1 callersMethodinstalled_asset_name
Generate installed asset (aux) name, used by bootloaders Right now this only returns CBM style IDs
blsforme/src/entry.rs:160
↓ 1 callersMethodis_flag
Returns true if this is a flag
crates/topology/src/disk/mounts.rs:39
↓ 1 callersMethodjoin_var
Generate root path for the variable
blsforme/src/bootloader/systemd_boot/interface.rs:128
↓ 1 callersMethodload_cmdline_snippets
Load cmdline snippets from the system root for this entry's sysroot
blsforme/src/entry.rs:52
↓ 1 callersMethodmount_partitions
Mount any required partitions (ESP/XBOOTLDR)
blsforme/src/manager.rs:149
↓ 1 callersMethodoptions
Convert [`Mount::opts`] into an iterator of typed options
crates/topology/src/disk/mounts.rs:54
↓ 1 callersMethodos_display_name
Retrieve display name for the OS This is the `PRETTY_NAME` field in os-release, used for display purposes
blsforme/src/kernel.rs:149
↓ 1 callersMethodos_id
Retrieve the OS ID (ie `serpent-os`, `aerynos`, etc) This is the `ID` field in os-release
blsforme/src/kernel.rs:138
↓ 1 callersFunctionquery_schema
Query the schema we need to use for pre BLS schema installations
blsctl/src/main.rs:116
↓ 1 callersFunctionscan_os_info
Scan the rootfs for os-info.json
blsctl/src/main.rs:95
↓ 1 callersMethodsync_entries
( &self, cmdline: impl Iterator<Item = &'a str>, entries: &[Entry], excluded_s
blsforme/src/bootloader/mod.rs:60
↓ 1 callersMethodwith_bootloader_assets
Update the set of bootloader assets
blsforme/src/manager.rs:141
↓ 1 callersMethodwith_entries
Set the system kernels to use for sync operations
blsforme/src/manager.rs:133
Functionbasic_interface_test
()
blsforme/src/bootloader/systemd_boot/interface.rs:140
Methodblsforme_kernels
Handle newstyle discovery
blsforme/src/kernel.rs:282
Methodboot_environment
Returns the boot environment
blsforme/src/manager.rs:177
Methodboot_partition
The so-called `$BOOT` partition (UEFI only at present)
blsforme/src/bootenv.rs:166
Methodcmdline
Access the automatic cmdline
blsforme/src/manager.rs:128
Methoddefault
()
crates/topology/src/disk/builder.rs:22
Methoddetermine_esp_by_bls
If UEFI we can ask BootLoaderProtocol for help to find out the ESP device.
blsforme/src/bootenv.rs:116
Methoddetermine_esp_by_gpt
Determine ESP by searching relative GPT
blsforme/src/bootenv.rs:129
Methoddiscover_xbootldr
Discover an XBOOTLDR partition *relative* to wherever the ESP is
blsforme/src/bootenv.rs:147
Methoddrop
(&mut self)
blsforme/src/manager.rs:245
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
blsforme/src/bootloader/systemd_boot/interface.rs:85
Methodfrom_str
(s: &str)
blsforme/src/os_release.rs:62
Methodid
Return an entry ID, suitable for `.conf` generation
blsforme/src/entry.rs:126
Methodinstalled_kernels
Discover installed kernels using the mount tokens
blsforme/src/manager.rs:182
Methodinstalled_kernels
Grab the installed entries
blsforme/src/bootloader/mod.rs:72
Methodinstalled_kernels
(&self)
blsforme/src/bootloader/systemd_boot/mod.rs:354
Methodis_option
Returns true if this is a key=value mapping
crates/topology/src/disk/mounts.rs:47
Methodlegacy_kernels
Discover any legacy kernels
blsforme/src/kernel.rs:158
Functionmain
()
blsctl/src/main.rs:213
Methodmap_decode
(o: &HashMap<&str, &str>)
blsforme/src/os_release.rs:76
Methodnew
Return a new BootEnvironment for the given root
blsforme/src/bootenv.rs:53
Methodnew
New entry for the given kernel
blsforme/src/entry.rs:41
Methodnew
Construct a new blsforme::Manager with the given configuration
blsforme/src/manager.rs:48
Methodnew
Construct the firmware-appropriate bootloader manager
blsforme/src/bootloader/mod.rs:39
Methodnew
Construct a new systemd boot loader manager
blsforme/src/bootloader/systemd_boot/mod.rs:45
Methodnew
Generate a new BootLoaderInterface for the given root
blsforme/src/bootloader/systemd_boot/interface.rs:92
Methodnew
( probe: &'a probe::Probe, path: impl AsRef<Path>, mount: Option<PathBuf>, aux
crates/topology/src/disk/device.rs:44
Methodnew
New MountTable parser for string Arguments: `data` - Some owned string
crates/topology/src/disk/mounts.rs:77
Methodnew_from_path
New MountTable parser for file Arguments: `path` - Path to load the mtab from (i.e. `/proc/self/mounts`)
crates/topology/src/disk/mounts.rs:99
Methodos_name
Retrieve the OS name
blsforme/src/kernel.rs:118
Methodsync
Attempt to sync kernels/bootloader with the targets Any already installed kernels will be skipped, and this step is not responsible for *deleting* an
blsforme/src/manager.rs:207
Methodsync
Sync bootloader to BOOT dir
blsforme/src/bootloader/mod.rs:54
Methodsync
Sync bootloader to ESP (not XBOOTLDR..)
blsforme/src/bootloader/systemd_boot/mod.rs:71
Methodsync_entries
( &self, cmdline: impl Iterator<Item = &'a str>, entries: &[Entry], excluded_s
blsforme/src/bootloader/systemd_boot/mod.rs:119
Functiontest_boot_json
()
blsforme/src/kernel.rs:373
Functiontopology_test
()
crates/topology/tests/ext4_gpt.rs:12
Functiontopology_test
()
crates/topology/tests/btrfs_gpt_lvm_on_luks.rs:12
Methodtry_from
(value: &'a str)
blsforme/src/kernel.rs:52
Methodwith_cmdline
With the given cmdline entry Used by moss to inject a `moss.tx={}` parameter
blsforme/src/entry.rs:119
Methodwith_schema
With the given schema Used by moss to override the global schema
blsforme/src/entry.rs:110
Methodwith_state_id
With the given state ID Used by moss to link to the unique transaction ID on disk
blsforme/src/entry.rs:101
Methodwith_sysroot
With the given system root This will cause any local snippets to be discovered
blsforme/src/entry.rs:92