pub fn filesystem_from_path(path: &Path) -> Result<Option<Filesystem>>Expand description
Get the filesystem on which Path is mounted, when it needs special handling.
Linux reports a superblock magic rather than a name, and neither libc nor
nix carries one for out-of-tree OpenZFS. Any other filesystem reports
None.