Reviewed by: Brian Behlendorf <[email protected]>
Reviewed by: Richard Yao <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>

When using zdb with non-default SPA config file it is not convenient
to add -U <non-default-config-file-path> all the time. This commit
introduces support for setting/overriding SPA config location via
environment variable 'SPA_CONFIG_PATH'.

If -U flag is specified in the command line it will override any other
value as usual.

https://github.com/zfsonlinux/zfs/commit/64d7b6cf75e52a4698d9bdec61745573c39d2e5a
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/21

-- Commit Summary --

  * 6391 Override default SPA config location via environment

-- File Changes --

    M usr/src/cmd/zdb/zdb.c (10)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/21.patch
https://github.com/openzfs/openzfs/pull/21.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/21
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to