Skip to main content

set_mount_readonly

Function set_mount_readonly 

Source
pub fn set_mount_readonly(fd: impl AsFd) -> Result<()>
Expand description

Set a detached mount tree read-only without reopening its path.