sel4_async_block_io_fat::fat

Function parse_volume

Source
pub async fn parse_volume<D>(
    block_device: &D,
    lba_start: BlockIdx,
    num_blocks: BlockCount,
) -> Result<VolumeType, Error<<D as BlockDevice>::Error>>
where D: BlockDevice, <D as BlockDevice>::Error: Debug,
Expand description

Load the boot parameter block from the start of the given partition and determine if the partition contains a valid FAT16 or FAT32 file system.