_init()
{
echo "*** mkfs"
- if ! mkfs_xfs $SCRATCH_DEV >$tmp.out 2>&1
+ if ! _scratch_mkfs_xfs >$tmp.out 2>&1
then
cat $tmp.out
echo "failed to mkfs $SCRATCH_DEV"
fi
echo "*** mount"
- if ! mount $SCRATCH_DEV $SCRATCH_MNT -t xfs
+ if ! _scratch_mount
then
echo "failed to mount $SCRATCH_DEV"
exit 1