Here's a follow-up patch to test a filesystem for richacl support. -- Subject: xfs_db: Report when richacls are supported When the richacl incompatible filesystem feature is set, include the word RICHACL in the output of "xfs_db [-r] -c version". Signed-off-by: Andreas Gruenbacher <agruenba@xxxxxxxxxx> --- db/sb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/sb.c b/db/sb.c index 17d446c..ff6c1f8 100644 --- a/db/sb.c +++ b/db/sb.c @@ -690,6 +690,8 @@ version_string( strcat(s, ",FTYPE"); if (xfs_sb_version_hasfinobt(sbp)) strcat(s, ",FINOBT"); + if (xfs_sb_has_incompat_feature(sbp, XFS_SB_FEAT_INCOMPAT_RICHACL)) + strcat(s, ",RICHACL"); if (xfs_sb_version_hassparseinodes(sbp)) strcat(s, ",SPARSE_INODES"); if (xfs_sb_version_hasmetauuid(sbp)) -- 2.5.0 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs