while [ $i -lt 1000 ]
do
file=$SCRATCH_MNT/$i
- xfs_io -f -c "pwrite -b 64k -S 0xff 0 64k" $file > /dev/null
+ $XFS_IO_PROG -f -c "pwrite -b 64k -S 0xff 0 64k" $file > /dev/null
if [ $? -ne 0 ]
then
echo error creating/writing file $file
exit
fi
- xfs_io -c "truncate 64k" $file > /dev/null
+ $XFS_IO_PROG -c "truncate 64k" $file > /dev/null
if [ $? -ne 0 ]
then
echo error truncating file $file