]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: add pidfs magic number for fstype check
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 4 Dec 2025 01:31:37 +0000 (20:31 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 4 Dec 2025 18:45:03 +0000 (13:45 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
libmount/src/utils.c

index 7626b6f91ee412e97f40e1f81db8e407a9b8777f..b9980c88e8e7395db6e70e4addaa20a6788879b6 100644 (file)
@@ -510,6 +510,7 @@ const char *mnt_statfs_get_fstype(struct statfs *vfs)
        case STATFS_OCFS2_MAGIC:        return "ocfs2";
        case STATFS_OMFS_MAGIC:         return "omfs";
        case STATFS_OPENPROMFS_MAGIC:   return "openpromfs";
+       case STATFS_PIDFS_MAGIC:        return "pidfs";
        case STATFS_PIPEFS_MAGIC:       return "pipefs";
        case STATFS_PROC_MAGIC:         return "proc";
        case STATFS_PSTOREFS_MAGIC:     return "pstore";