summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-07-05 22:49:56 +0200
committerJim Meyering <meyering@redhat.com>2011-07-07 13:58:22 +0200
commit473b4fc1e8842ad99f544832683699539da5828d (patch)
tree5d1755c4c0031373420a07603a44e39470322eed /src
parent84d048002e423dc85ae99bbb3372cd48dc1bfe72 (diff)
downloadcoreutils-473b4fc1e8842ad99f544832683699539da5828d.tar.xz
stat: recognize GPFS as a file system type
* src/stat.c (human_fstype) [S_MAGIC_GPFS]: Add a case, to handle GPFS_SUPER_MAGIC/0x47504653. Prompted by this discussion: http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/14007 * NEWS (Improvements): Mention it.
Diffstat (limited to 'src')
-rw-r--r--src/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index 75e0e391c..0ad465e22 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -289,6 +289,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "futexfs";
case S_MAGIC_GFS: /* 0x1161970 */
return "gfs/gfs2";
+ case S_MAGIC_GPFS: /* 0x47504653 */
+ return "gpfs";
case S_MAGIC_HFS: /* 0x4244 */
return "hfs";
case S_MAGIC_HPFS: /* 0xF995E849 */