summaryrefslogtreecommitdiff
path: root/common/xfs
diff options
context:
space:
mode:
Diffstat (limited to 'common/xfs')
-rw-r--r--common/xfs6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/xfs b/common/xfs
index e1c15d3d..8334880e 100644
--- a/common/xfs
+++ b/common/xfs
@@ -1402,3 +1402,9 @@ _xfs_filter_mkfs()
print STDOUT "realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX\n";
}'
}
+
+_require_xfsrestore_xflag()
+{
+ $XFSRESTORE_PROG -h 2>&1 | grep -q -e '-x' || \
+ _notrun 'xfsrestore does not support -x flag.'
+}