[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] stat: recognize MQUEUE file systems
From: |
Jim Meyering |
Subject: |
Re: [PATCH] stat: recognize MQUEUE file systems |
Date: |
Fri, 24 Jun 2011 14:06:05 +0200 |
Pádraig Brady wrote:
> I noticed the mqueue file system on my Fedora 15 install,
> which is used to interact with POSIX message queues.
>
> cheers,
> Pádraig.
>
> diff --git a/src/stat.c b/src/stat.c
> index c479726..54c4e97 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 */
Thanks.
While you're adding that, you might also want to add an entry for this:
# define S_MAGIC_PSTOREFS 0x6165676C
It was reported by running "make -C src fs-magic-compare" on rawhide.