Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zdb fixes #1545

Closed
wants to merge 2 commits into from
Closed

zdb fixes #1545

wants to merge 2 commits into from

Conversation

imp
Copy link
Contributor

@imp imp commented Jun 25, 2013

Two commits:

One is really tiny typo fix. And the second is a usability improvement. I am using a per-pool cache file as a rule and having to type -U each time zdb is required is not cool. I found handling it via the environment very handy.

imp added 2 commits June 25, 2013 08:03
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.
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Jun 28, 2013
@behlendorf behlendorf closed this in 64d7b6c Jul 1, 2013
unya pushed a commit to unya/zfs that referenced this pull request Dec 13, 2013
unya pushed a commit to unya/zfs that referenced this pull request Dec 13, 2013
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.

Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#1545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants