Skip to main content

default_subvolume_id

Function default_subvolume_id 

Source
pub fn default_subvolume_id<P: AsRef<Path>>(path: P) -> Result<u64, Error>
Expand description

Gets the default subvolume ID for the filesystem containing the path.

This requires appropriate privilege (CAP_SYS_ADMIN).