]> granicus.if.org Git - zfs/commit
Add default FILEDIR path to zpool-config scripts
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 5 Feb 2014 00:09:55 +0000 (16:09 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 12 Feb 2014 17:37:46 +0000 (09:37 -0800)
commit99d3ece84797086407fbb4d94d3817f2dc891af0
treea57d55eb41b30f48bb0648f2b4abb2d3ca308d2c
parentf12971e6f5cf0e84e385eb9636fbe2ae313ab257
Add default FILEDIR path to zpool-config scripts

Allow the caller of the zpool-create.sh script to override
the default path where file vdevs are created.  This allows
for greated flexibilty when scripting.

Additionally, update the default path from /tmp/ to /var/tmp/
because these days /tmp/ is likely a ramdisk.  Even though
these files are sparse they may grow large in which case they
should be backed by a physical device.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2120
16 files changed:
scripts/zpool-config/file-raid0.sh
scripts/zpool-config/file-raid10.sh
scripts/zpool-config/file-raidz.sh
scripts/zpool-config/file-raidz2.sh
scripts/zpool-config/lo-faulty-raid0.sh
scripts/zpool-config/lo-faulty-raid10.sh
scripts/zpool-config/lo-faulty-raidz.sh
scripts/zpool-config/lo-faulty-raidz2.sh
scripts/zpool-config/lo-raid0.sh
scripts/zpool-config/lo-raid10.sh
scripts/zpool-config/lo-raidz.sh
scripts/zpool-config/lo-raidz2.sh
scripts/zpool-config/scsi_debug-raid0.sh
scripts/zpool-config/scsi_debug-raid10.sh
scripts/zpool-config/scsi_debug-raidz.sh
scripts/zpool-config/scsi_debug-raidz2.sh