get_features()
{
- xfs_db -x $SCRATCH_DEV -c "sb" -c "print $1" | awk '// {print $3}'
+ _scratch_xfs_db -x -c "sb" -c "print $1" | awk '// {print $3}'
}
# clear any mkfs options so that we can directly specify the options we need to
# Now clear the normal flags
#
echo "Clearing features2:"
-xfs_db -x $SCRATCH_DEV -c 'sb' -c 'write features2 0'
+_scratch_xfs_db -x -c 'sb' -c 'write features2 0'
_scratch_mount
_scratch_unmount
# Clear the normal flags again for the second rount.
#
echo "Clearing features2:"
-xfs_db -x $SCRATCH_DEV -c 'sb' -c 'write features2 0'
+_scratch_xfs_db -x -c 'sb' -c 'write features2 0'
#
# And print the flags after a mount ro and remount rw