]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat: recognize MQUEUE and PSTOREFS file systems
authorPádraig Brady <P@draigBrady.com>
Fri, 24 Jun 2011 07:22:06 +0000 (08:22 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 24 Jun 2011 12:30:57 +0000 (13:30 +0100)
* src/stat.c (human_fstype): Add magic numbers for
PSTOREFS and MQUEUE.

src/stat.c

index c479726dadbda502be9da78b0887680c50042eab..75e0e391cd39993dd332fd6ca785e5f3f36e0cd3 100644 (file)
@@ -323,6 +323,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "minix v2 (30 char.)";
     case S_MAGIC_MINIX_V3: /* 0x4D5A */
       return "minix3";
+    case S_MAGIC_MQUEUE: /* 0x19800202 */
+      return "mqueue";
     case S_MAGIC_MSDOS: /* 0x4D44 */
       return "msdos";
     case S_MAGIC_NCP: /* 0x564C */
@@ -341,6 +343,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "ocfs2";
     case S_MAGIC_PROC: /* 0x9FA0 */
       return "proc";
+    case S_MAGIC_PSTOREFS: /* 0x6165676C */
+      return "pstorefs";
     case S_MAGIC_QNX4: /* 0x002F */
       return "qnx4";
     case S_MAGIC_RAMFS: /* 0x858458F6 */