Document environment variables for zdb, zfs, zinject and zpool.

Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2691
This commit is contained in:
Turbo Fredriksson 2014-09-12 15:44:04 +02:00 committed by Brian Behlendorf
parent 2d50158343
commit 71bd064555
4 changed files with 24 additions and 0 deletions

View File

@ -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)

View File

@ -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:

View File

@ -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 <dajhorn@vanadac.com>
excerpting the \fBzinject\fR usage message and source code.

View File

@ -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