Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch
This commit is contained in:
commit
b2c62c2caa
|
@ -36,6 +36,8 @@ sbindir=@sbindir@
|
||||||
ETCDIR=${ETCDIR:-/etc}
|
ETCDIR=${ETCDIR:-/etc}
|
||||||
DEVDIR=${DEVDIR:-/dev/disk/zpool}
|
DEVDIR=${DEVDIR:-/dev/disk/zpool}
|
||||||
ZPOOLDIR=${ZPOOLDIR:-${pkglibexecdir}/zpool-config}
|
ZPOOLDIR=${ZPOOLDIR:-${pkglibexecdir}/zpool-config}
|
||||||
|
ZPIOSDIR=${ZPIOSDIR:-${pkglibexecdir}/zpios-test}
|
||||||
|
ZPIOSPROFILEDIR=${ZPIOSPROFILEDIR:-${pkglibexecdir}/zpios-profile}
|
||||||
|
|
||||||
ZDB=${ZDB:-${sbindir}/zdb}
|
ZDB=${ZDB:-${sbindir}/zdb}
|
||||||
ZFS=${ZFS:-${sbindir}/zfs}
|
ZFS=${ZFS:-${sbindir}/zfs}
|
||||||
|
@ -43,10 +45,13 @@ ZINJECT=${ZINJECT:-${sbindir}/zinject}
|
||||||
ZPOOL=${ZPOOL:-${sbindir}/zpool}
|
ZPOOL=${ZPOOL:-${sbindir}/zpool}
|
||||||
ZPOOL_ID=${ZPOOL_ID:-${bindir}/zpool_id}
|
ZPOOL_ID=${ZPOOL_ID:-${bindir}/zpool_id}
|
||||||
ZTEST=${ZTEST:-${sbindir}/ztest}
|
ZTEST=${ZTEST:-${sbindir}/ztest}
|
||||||
|
ZPIOS=${ZPIOS:-${sbindir}/zpios}
|
||||||
|
|
||||||
COMMON_SH=${COMMON_SH:-${pkglibexecdir}/common.sh}
|
COMMON_SH=${COMMON_SH:-${pkglibexecdir}/common.sh}
|
||||||
ZFS_SH=${ZFS_SH:-${pkglibexecdir}/zfs.sh}
|
ZFS_SH=${ZFS_SH:-${pkglibexecdir}/zfs.sh}
|
||||||
ZPOOL_CREATE_SH=${ZPOOL_CREATE_SH:-${pkglibexecdir}/zpool-create.sh}
|
ZPOOL_CREATE_SH=${ZPOOL_CREATE_SH:-${pkglibexecdir}/zpool-create.sh}
|
||||||
|
ZPIOS_SH=${ZPIOS_SH:-${pkglibexecdir}/zpios.sh}
|
||||||
|
ZPIOS_SURVEY_SH=${ZPIOS_SURVEY_SH:-${pkglibexecdir}/zpios-survey.sh}
|
||||||
|
|
||||||
LDMOD=${LDMOD:-/sbin/modprobe}
|
LDMOD=${LDMOD:-/sbin/modprobe}
|
||||||
LSMOD=${LSMOD:-/sbin/lsmod}
|
LSMOD=${LSMOD:-/sbin/lsmod}
|
||||||
|
|
|
@ -7,8 +7,6 @@ basedir="$(dirname $0)"
|
||||||
SCRIPT_COMMON=common.sh
|
SCRIPT_COMMON=common.sh
|
||||||
if [ -f "${basedir}/${SCRIPT_COMMON}" ]; then
|
if [ -f "${basedir}/${SCRIPT_COMMON}" ]; then
|
||||||
. "${basedir}/${SCRIPT_COMMON}"
|
. "${basedir}/${SCRIPT_COMMON}"
|
||||||
elif [ -f /usr/libexec/zfs/${SCRIPT_COMMON} ]; then
|
|
||||||
. /usr/libexec/zfs/${SCRIPT_COMMON}
|
|
||||||
else
|
else
|
||||||
echo "Missing helper script ${SCRIPT_COMMON}" && exit 1
|
echo "Missing helper script ${SCRIPT_COMMON}" && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,8 +8,6 @@ basedir="$(dirname $0)"
|
||||||
SCRIPT_COMMON=common.sh
|
SCRIPT_COMMON=common.sh
|
||||||
if [ -f "${basedir}/${SCRIPT_COMMON}" ]; then
|
if [ -f "${basedir}/${SCRIPT_COMMON}" ]; then
|
||||||
. "${basedir}/${SCRIPT_COMMON}"
|
. "${basedir}/${SCRIPT_COMMON}"
|
||||||
elif [ -f /usr/libexec/zfs/${SCRIPT_COMMON} ]; then
|
|
||||||
. /usr/libexec/zfs/${SCRIPT_COMMON}
|
|
||||||
else
|
else
|
||||||
echo "Missing helper script ${SCRIPT_COMMON}" && exit 1
|
echo "Missing helper script ${SCRIPT_COMMON}" && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,8 +8,6 @@ basedir="$(dirname $0)"
|
||||||
SCRIPT_COMMON=common.sh
|
SCRIPT_COMMON=common.sh
|
||||||
if [ -f "${basedir}/${SCRIPT_COMMON}" ]; then
|
if [ -f "${basedir}/${SCRIPT_COMMON}" ]; then
|
||||||
. "${basedir}/${SCRIPT_COMMON}"
|
. "${basedir}/${SCRIPT_COMMON}"
|
||||||
elif [ -f /usr/libexec/zfs/${SCRIPT_COMMON} ]; then
|
|
||||||
. /usr/libexec/zfs/${SCRIPT_COMMON}
|
|
||||||
else
|
else
|
||||||
echo "Missing helper script ${SCRIPT_COMMON}" && exit 1
|
echo "Missing helper script ${SCRIPT_COMMON}" && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue