coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] stat: recognize MQUEUE file systems


From: Pádraig Brady
Subject: [PATCH] stat: recognize MQUEUE file systems
Date: Fri, 24 Jun 2011 11:37:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]