MCPcopy Create free account
hub / github.com/bootc-dev/bootc / find_partition_of_bios_boot

Method find_partition_of_bios_boot

crates/blockdev/src/blockdev.rs:189–191  ·  view source on GitHub ↗

Find BIOS boot partition among children.

(&self)

Source from the content-addressed store, hash-verified

187
188 /// Find BIOS boot partition among children.
189 pub fn find_partition_of_bios_boot(&self) -> Option<&Device> {
190 self.find_partition_of_type(BIOS_BOOT)
191 }
192
193 /// Find all ESP partitions across all root devices backing this device.
194 /// Calls find_all_roots() to discover physical disks, then searches each for an ESP.

Callers 2

test_parse_lsblkFunction · 0.80

Calls 1

Tested by 1

test_parse_lsblkFunction · 0.64