Skip to main content

verify_sectors

Function verify_sectors 

Source
fn verify_sectors(
    disk: &mut dyn BiosDisk,
    lba: u64,
    count: u64,
) -> Result<(), u8>
Expand description

Checks that count sectors starting at lba exist on the medium.

INT 13h AH=04h verifies addresses without transferring data: the synthetic controller has no latent media errors, so an in-range request succeeds. DOS issues it after each write when verification is enabled, and formatters use it to check the volume they just created.