From: Pádraig Brady
Date: Fri, 24 Jun 2011 07:22:06 +0000 (+0100) Subject: stat: recognize MQUEUE and PSTOREFS file systems X-Git-Tag: v8.13~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171e1b98152a0433188e19bfcd3e45bb095b7ecb;p=thirdparty%2Fcoreutils.git stat: recognize MQUEUE and PSTOREFS file systems * src/stat.c (human_fstype): Add magic numbers for PSTOREFS and MQUEUE. --- 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 */