X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fzpool_layout%2Fzpool_layout;h=26d3ec265b19dab6aef844259a540ce2cb9620b9;hb=cbc6fab65c201e44de9bda083cfaab209c6b4f7a;hp=432c1576eebe7b3d4e0bf4476001d4adaec69d01;hpb=a5b4d63582005300c4526c7c15b63294e5408534;p=zfs.git diff --git a/cmd/zpool_layout/zpool_layout b/cmd/zpool_layout/zpool_layout index 432c157..26d3ec2 100755 --- a/cmd/zpool_layout/zpool_layout +++ b/cmd/zpool_layout/zpool_layout @@ -12,7 +12,7 @@ # /etc/zfs/zdev.conf file, it allows the by-path naming convertion # to change and still keep the simple naming. # -AWK=${AWK:-/bin/awk} +AWK=${AWK:-/usr/bin/awk} CONFIG=${CONFIG:-/etc/zfs/zdev.conf} BUSES=( 01 02 03 ) PORTS=( 4 0 ) @@ -153,7 +153,7 @@ exec 1>&8 8>&- popd >/dev/null if [ ${TRIGGER} = "yes" ]; then - udevadm trigger + udevadm trigger --action=change --subsystem-match=block udevadm settle fi