From 5493d867dc30d0917c5fcdb2d4928e0ea7946cdc Mon Sep 17 00:00:00 2001 From: Tim Shimmin Date: Fri, 3 Jun 2005 06:07:55 +0000 Subject: [PATCH] fix filter name - got to carried away with search and replace for XFS_IO_PROG. Merge of master-melb:xfs-cmds:22793a by kenmcd. fix filter name - got to carried away with search and replace for XFS_IO_PROG. --- 071 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/071 b/071 index da77c609..c7037632 100755 --- a/071 +++ b/071 @@ -86,13 +86,13 @@ write_block() echo "Writing $bytes bytes, offset is $words (direct=$direct)" | _filter_io echo "Writing $bytes bytes at $location $words (direct=$direct)" >>$seq.full $XFS_IO_PROG -c "pwrite $offset 512" $flags $SCRATCH_MNT/$seq \ - 2>&1 | _filter_off $offset | _filter_$XFS_IO_PROG | tee -a $seq.full + 2>&1 | _filter_off $offset | _filter_xfs_io | tee -a $seq.full xfs_bmap -v $SCRATCH_MNT/$seq >>$seq.full echo "Reading $bytes bytes (direct=$direct)" | _filter_io echo "Reading $bytes bytes at $location (direct=$direct)" >>$seq.full $XFS_IO_PROG -c "pread $offset $bytes" $flags $SCRATCH_MNT/$seq \ - 2>&1 | _filter_off $offset | _filter_$XFS_IO_PROG | tee -a $seq.full + 2>&1 | _filter_off $offset | _filter_xfs_io | tee -a $seq.full $XFS_IO_PROG -c "pread -v $offset $bytes" $flags $SCRATCH_MNT/$seq >>$seq.full @@ -103,7 +103,7 @@ write_block() _supported_fs xfs _supported_os IRIX Linux -[ -x $XFS_IO_PROG ] || _notrun "$XFS_IO_PROG executable not found" +[ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found" _require_scratch _scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs -- 2.39.5