echo "+ corrupt image"
seq 0 $((agcount - 1)) | while read ag; do
- $XFS_DB_PROG -x -c "agf ${ag}" -c "agf ${ag}" -c "addr refcntroot" \
+ _scratch_xfs_db -x -c "agf ${ag}" -c "agf ${ag}" -c "addr refcntroot" \
-c "stack" -c "blocktrash -x 4096 -y 4096 -z -n 8 -3" \
- "${SCRATCH_DEV}" >> "$seqres.full" 2>&1
+ >> "$seqres.full" 2>&1
done
echo "+ mount image"