summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2014-09-12 15:44:04 +0200
committerBrian Behlendorf <[email protected]>2014-09-18 15:01:03 -0700
commit71bd0645554d8bd94bdadaf270ab67f629ad9fa0 (patch)
tree3888c5e45c2be108c492c058591dea0472de6941
parent2d501583430e54be39c6aed033fc6f841e469f23 (diff)
Document environment variables for zdb, zfs, zinject and zpool.
Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2691
-rw-r--r--man/man8/zdb.85
-rw-r--r--man/man8/zfs.85
-rw-r--r--man/man8/zinject.85
-rw-r--r--man/man8/zpool.89
4 files changed, 24 insertions, 0 deletions
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8
index 48710c5cd..2bfe9683b 100644
--- a/man/man8/zdb.8
+++ b/man/man8/zdb.8
@@ -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)
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index 8b22c5af4..d3ca8a6f7 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -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:
diff --git a/man/man8/zinject.8 b/man/man8/zinject.8
index 13c4c1fea..c21d66ac4 100644
--- a/man/man8/zinject.8
+++ b/man/man8/zinject.8
@@ -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.
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index f5b4bacd6..f6781bda0 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -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