Skip to main content

io_probe

Function io_probe 

Source
pub fn io_probe(
    drive: &str,
    mode: IoProbeMode,
    queue_depth: usize,
) -> Result<ProbeStats, MftError>
Expand description

Measure one $MFT read pass under mode. Elevation required (the same volume-handle rule as the scan).

ยงErrors

Returns MftError::NotElevated when the process lacks the privileges to open the raw volume, or MftError::Ntfs if reading the $MFT layout or the measured read pass fails.