mirror_zfs/contrib/dracut/90zfs
наб 420b44488f
Remove basename(1). Clean up/shorten some coreutils pipelines
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
2021-11-11 13:27:37 -07:00
..
.gitignore dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
export-zfs.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
import-opts-generator.sh.in dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
Makefile.am dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
module-setup.sh.in Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
mount-zfs.sh.in Use %%/* instead of awk -F/ {print $1} to strip datasets 2021-06-04 14:01:08 -07:00
parse-zfs.sh.in Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
zfs-env-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2021-05-12 21:21:35 -07:00
zfs-generator.sh.in Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
zfs-lib.sh.in Fix plymouth passphrase prompt with dracut 2021-06-25 22:43:25 -07:00
zfs-load-key.sh.in dracut: 90zfs: zfs-load-key: wait for key to appear for up to 10 seconds 2021-06-04 14:01:08 -07:00
zfs-needshutdown.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
zfs-rollback-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2021-05-12 21:21:35 -07:00
zfs-snapshot-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2021-05-12 21:21:35 -07:00