745a7f78da
Basenames that remain, in cmd/zed/zed.d/statechange-led.sh: dev=$(basename "$(echo "$therest" | awk '{print $(NF-1)}')") vdev=$(basename "$ZEVENT_VDEV_PATH") I don't wanna interfere with #11988 scripts/zfs-tests.sh: SINGLETESTFILE=$(basename "$SINGLETEST") tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib: ACTUAL=$(basename $dataset) ACTUAL=$(basename $dataset) tests/zfs-tests/tests/functional/cli_user/zpool_iostat/ zpool_iostat_-c_homedir.ksh: typeset USER_SCRIPT=$(basename "$USER_SCRIPT_FULL") tests/zfs-tests/tests/functional/cli_user/zpool_iostat/ zpool_iostat_-c_searchpath.ksh: typeset CMD_1=$(basename "$SCRIPT_1") typeset CMD_2=$(basename "$SCRIPT_2") tests/zfs-tests/tests/functional/cli_user/zpool_status/ zpool_status_-c_homedir.ksh: typeset USER_SCRIPT=$(basename "$USER_SCRIPT_FULL") tests/zfs-tests/tests/functional/cli_user/zpool_status/ zpool_status_-c_searchpath.ksh typeset CMD_1=$(basename "$SCRIPT_1") typeset CMD_2=$(basename "$SCRIPT_2") tests/zfs-tests/tests/functional/migration/migration.cfg: export BNAME=`basename $TESTFILE` tests/zfs-tests/tests/perf/perf.shlib: typeset logbase="$(get_perf_output_dir)/$(basename \ tests/zfs-tests/tests/perf/perf.shlib: typeset logbase="$(get_perf_output_dir)/$(basename \ These are potentially Of Directories, where basename is actually useful Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12652 |
||
---|---|---|
.. | ||
README | ||
ata_err | ||
cmd_to | ||
defect | ||
dm-deps | ||
enc | ||
encdev | ||
fault_led | ||
health | ||
hours_on | ||
iostat | ||
iostat-1s | ||
iostat-10s | ||
label | ||
locate_led | ||
lsblk | ||
media | ||
model | ||
nonmed | ||
nvme_err | ||
off_ucor | ||
pend_sec | ||
pwr_cyc | ||
r_proc | ||
r_ucor | ||
realloc | ||
rep_ucor | ||
serial | ||
ses | ||
size | ||
slot | ||
smart | ||
smart_test | ||
smartx | ||
temp | ||
test_ended | ||
test_progress | ||
test_status | ||
test_type | ||
upath | ||
vendor | ||
w_proc | ||
w_ucor |
README
This directory contains scripts that can be run the zpool status/iostat -c option: zpool status -c script1,script2, ... zpool iostat -vc script1,script2, ... Some scripts output different values depending on the symlink name that is used to run them. See the zpool(8) man page for more details.