Hot answers tagged

1 vote
Accepted

How to figure out whether a path is the root of a ZFS dataset mountpoint?

There doesn't seem to be an easy way to tell whether mountpoint is a parent or child. You could use e.g. property usedbychildren that should be 0B for leaf (lowest child) node. $ zfs list -o name,...
  • 1,425

Only top scored, non community-wiki answers of a minimum length are eligible