]> git.proxmox.com Git - mirror_zfs.git/commit
Use truncate instead of fallocate in ziltest.sh
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Jul 2015 17:30:22 +0000 (10:30 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Jul 2015 18:02:59 +0000 (11:02 -0700)
commit5970eb3d60346d385d0910c00ed5199b9af223c8
treeb307f23ec0686bf9fb19fab5da47c1bb8bd9db25
parent541da9935d07ad40fb5e000114d9c904c2dde632
Use truncate instead of fallocate in ziltest.sh

For the purposes of creating sparse files the truncate command is
preferable to fallocate because generic sparse files are more widely
supported by older platforms.  Specifically Debian Wheezy which is
based on a 2.6.32 kernel used ext3 by default which at the time did
not support it.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
scripts/ziltest.sh