Skip to content

Commit

Permalink
Document environment variables for zdb, zfs, zinject and zpool.
Browse files Browse the repository at this point in the history
Signed-off-by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2691
  • Loading branch information
FransUrbo authored and behlendorf committed Sep 18, 2014
1 parent 2d50158 commit 71bd064
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions man/man8/zdb.8
Original file line number Diff line number Diff line change
Expand Up @@ -526,5 +526,10 @@ dedup = 1.11, compress = 1.80, copies = 1.00, dedup * compress / copies = 2.00
.in -2
.sp

.SH "ENVIRONMENT VARIABLES"
.TP
.B "SPA_CONFIG_PATH"
Override the default \fBspa_config_path\fR (\fI/etc/zfs/zpool.cache\fR) setting. If \fB-U\fR flag is specified it will override this environment variable settings once again.

.SH "SEE ALSO"
zfs(8), zpool(8)
5 changes: 5 additions & 0 deletions man/man8/zfs.8
Original file line number Diff line number Diff line change
Expand Up @@ -3707,6 +3707,11 @@ M F /tank/test/modified
.in -2
.sp

.SH "ENVIRONMENT VARIABLES"
.TP
.B "ZFS_ABORT
Cause \fBzfs\fR to dump core on exit for the purposes of running \fB::findleaks\fR.

.SH EXIT STATUS
.LP
The following exit values are returned:
Expand Down
5 changes: 5 additions & 0 deletions man/man8/zinject.8
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ Set this to
.BI "\-u"
Unload the pool after injection.

.SH "ENVIRONMENT VARIABLES"
.TP
.B "ZINJECT_DEBUG"
Run \fBzinject\fR in debug mode.

.SH "AUTHORS"
This man page was written by Darik Horn <[email protected]>
excerpting the \fBzinject\fR usage message and source code.
Expand Down
9 changes: 9 additions & 0 deletions man/man8/zpool.8
Original file line number Diff line number Diff line change
Expand Up @@ -2297,6 +2297,15 @@ An error occurred.
Invalid command line options were specified.
.RE

.SH "ENVIRONMENT VARIABLES"
.TP
.B "ZFS_ABORT
Cause \fBzpool\fR to dump core on exit for the purposes of running \fB::findleaks\fR.
.TP
.B "ZPOOL_IMPORT_PATH"
The search path for devices or files to use with the pool. This is a colon-separated list of directories in which \fBzpool\fR looks for device nodes and files.
Similar to the \fB-d\fR option in \fIzpool import\fR.

.SH SEE ALSO
.sp
.LP
Expand Down

0 comments on commit 71bd064

Please sign in to comment.