Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zfs: Use unix.Open to verify that /dev/zfs exists
The alternative os.OpenFile internally tries to enable non-blocking i/o on the descriptor which on FreeBSD has the side effect of printing a cryptic error message on the console (openzfs/zfs#14286). Signed-off-by: Doug Rabson <dfr@rabson.org>
- Loading branch information