|| _notrun "attr v1 not supported on $SCRATCH_DEV"
}
+# check if we support the noattr2 mount option
+_require_noattr2()
+{
+ _scratch_mkfs_xfs > /dev/null 2>&1 \
+ || _fail "_scratch_mkfs_xfs failed on $SCRATCH_DEV"
+ _mount -o noattr2 $SCRATCH_DEV > /dev/null 2>&1 \
+ || _notrun "noattr2 mount option not supported on $SCRATCH_DEV"
+ _scratch_unmount
+}
+
# getfattr -R returns info in readdir order which varies from fs to fs.
# This sorts the output by filename
_sort_getfattr_output()