aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/scsi_debug-raidz.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zpool-config/scsi_debug-raidz.sh')
-rw-r--r--scripts/zpool-config/scsi_debug-raidz.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/zpool-config/scsi_debug-raidz.sh b/scripts/zpool-config/scsi_debug-raidz.sh
index c811a0182..54a456524 100644
--- a/scripts/zpool-config/scsi_debug-raidz.sh
+++ b/scripts/zpool-config/scsi_debug-raidz.sh
@@ -9,9 +9,8 @@ SDHOSTS=${SDHOSTS:-1}
SDTGTS=${SDTGTS:-1}
SDLUNS=${SDLUNS:-1}
LDMOD=/sbin/modprobe
-FILES="/tmp/zpool-vdev0 \
- /tmp/zpool-vdev1 \
- /tmp/zpool-vdev2"
+FILEDIR=${FILEDIR:-/var/tmp}
+FILES=${FILES:-"$FILEDIR/file-vdev0 $FILEDIR/file-vdev1 $FILEDIR/file-vdev2"}
DEVICES=""
zpool_create() {