pub fn subvolume_path_with_id<P: AsRef<Path>>(
path: P,
id: u64,
) -> Result<PathBuf, Error>
Expand description
Gets the path of the subvolume with a given ID relative to the filesystem root.
This requires appropriate privilege (CAP_SYS_ADMIN
).