The xfs_db version command prints a string for each of the various features supported by a filesystem. Include 'SPARSE_INODES' in the version string when sparse inode chunk allocation is supported by the fs. Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx> --- db/sb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/sb.c b/db/sb.c index 4208569..ff2318c 100644 --- a/db/sb.c +++ b/db/sb.c @@ -661,6 +661,8 @@ version_string( strcat(s, ",CRC"); if (xfs_sb_version_hasftype(sbp)) strcat(s, ",FTYPE"); + if (xfs_sb_version_hassparseinodes(sbp)) + strcat(s, ",SPARSE_INODES"); return s; } -- 1.9.3 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs