summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--src/stat.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d58df26fc..f7e782344 100644
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,8 @@ GNU coreutils NEWS -*- outline -*-
cp and ls now support HP-UX 11.11's ACLs, thanks to improved support
in gnulib.
+ stat -f now also recognizes the GPFS file system type.
+
** Build-related
Changes inherited from gnulib address a build failure on HP-UX 11.11
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 */