diff options
author | наб <[email protected]> | 2022-05-03 16:55:14 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-11 10:33:12 -0700 |
commit | 888914486e26d81c8dbfd7a9d8091c05f9fc98ba (patch) | |
tree | 0fe9e41712dcc6e979768c6e67aeab96b93af0ab /man | |
parent | 951a3889d19925fb75bd0bfaac0dce6767e2e0a4 (diff) |
ztest: take -B ./path/to/ztest, LD_LIBRARY_PATH=./path/lib:$L_L_P
This changes the behaviour of -B from the illumos one which would,
in the example in the manual, take just ./chroots/lenny;
this, however, is more versatile, and scales much better for systems
with ZFS in /usr/local, for example
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13411
Closes #1770
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/ztest.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/man/man1/ztest.1 b/man/man1/ztest.1 index fd1374a2f..9e44eb457 100644 --- a/man/man1/ztest.1 +++ b/man/man1/ztest.1 @@ -157,7 +157,17 @@ Time per pass. Max loops in .Fn spa_freeze . .It Fl B , -alt-ztest Ns = -Alternate ztest path. +Path to alternate ("older") +.Nm ztest +to drive, which will be used to initialise the pool, and, a stochastic half the time, to run the tests. +The parallel +.Pa lib +directory is prepended to +.Ev LD_LIBRARY_PATH ; +i.e. given +.Fl B Pa ./chroots/lenny/usr/bin/ Ns Nm , +.Pa ./chroots/lenny/usr/lib +will be loaded. .It Fl C , -vdev-class-state Ns = Ns Sy on Ns | Ns Sy off Ns | Ns Sy random No (default: Sy random ) The vdev allocation class state. .It Fl o , -option Ns = Ns Ar variable Ns = Ns Ar value |