if [ ! -f /proc/fs/xfs/xqmstat ]; then
_notrun "Installed kernel does not support XFS quotas"
fi
+ if [ "$USE_EXTERNAL" = yes -a ! -z "$TEST_RTDEV" ]; then
+ _notrun "Quotas not supported on realtime test device"
+ fi
+ if [ "$USE_EXTERNAL" = yes -a ! -z "$SCRATCH_RTDEV" ]; then
+ _notrun "Quotas not supported on realtime scratch device"
+ fi
;;
*)
_notrun "disk quotas not supported by this filesystem type: $FSTYP"
{
src/feature -q $TEST_DEV
[ $? -ne 0 ] && _notrun "Installed kernel does not support XFS quota"
+ if [ "$USE_EXTERNAL" = yes -a ! -z "$TEST_RTDEV" ]; then
+ _notrun "Quotas not supported on realtime test device"
+ fi
+ if [ "$USE_EXTERNAL" = yes -a ! -z "$SCRATCH_RTDEV" ]; then
+ _notrun "Quotas not supported on realtime scratch device"
+ fi
[ -n $XFS_QUOTA_PROG ] || _notrun "XFS quota user tools not installed"
}
[ -n "$1" ] && _dev="$1" || _dev="$TEST_DEV"
src/feature -p $_dev
[ $? -ne 0 ] && _notrun "Installed kernel does not support project quotas"
+ if [ "$USE_EXTERNAL" = yes -a ! -z "$_dev" ]; then
+ _notrun "Project quotas not supported on realtime filesystem"
+ fi
}
#