From 171e1b98152a0433188e19bfcd3e45bb095b7ecb Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Fri, 24 Jun 2011 08:22:06 +0100 Subject: [PATCH] stat: recognize MQUEUE and PSTOREFS file systems * src/stat.c (human_fstype): Add magic numbers for PSTOREFS and MQUEUE. --- src/stat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stat.c b/src/stat.c index c479726dad..75e0e391cd 100644 --- a/src/stat.c +++ b/src/stat.c @@ -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 */ -- 2.47.2