All ZFS snapshots have paths like “/mount/point/path/.zfs/snapshot/NameOfSnapshot”, but not all paths that can conceivably contain “/.zfs/snapshot/” are necessarily ZFS snapshots. How can I detect that a path is (or is contained in) a ZFS snapshot? Is there a fast way to detect it or do I have to enumerate snapshots and compare? I guess if it’s the latter, I can at least defer enumerating snapshots until I know the path contains the substring “/.zfs/snapshot/”…