Skip to main content

zfs_pool_mount_map

Function zfs_pool_mount_map 

Source
fn zfs_pool_mount_map() -> HashMap<String, String>
Expand description

Build a pool-name → shallowest-mount-point map from /proc/mounts. The root dataset (source with no /) is preferred; the dataset with the fewest path components (shallowest) is used when multiple datasets match.