stat: recognize MQUEUE and PSTOREFS file systems

* src/stat.c (human_fstype): Add magic numbers for
PSTOREFS and MQUEUE.
This commit is contained in:
Pádraig Brady
2011-06-24 08:22:06 +01:00
parent 376b19410e
commit 171e1b9815

View 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 */