Skip to main content

mount_esp

Function mount_esp 

Source
fn mount_esp(device: &str) -> Result<TempMount>
Expand description

Fresh mount(2) of the ESP into a tempdir. Returns EBUSY if the device is already mounted in the current mount namespace; callers should use mount_esp_readonly or mount_esp_writable instead of this primitive so that pre-existing mounts are handled.