Skip to main content

find_booted_from_esp

Function find_booted_from_esp 

Source
pub(crate) fn find_booted_from_esp(physical_root: &Dir) -> Result<String>
Expand description

Find the ESP from which the system was booted

This is a better way to find the correct ESP than just searching trough all ESPs and returning the first one as we may end up with the wrong ESP in dual booted systems