summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-01-29 01:17:53 +0000
committerPádraig Brady <P@draigBrady.com>2014-01-29 01:17:53 +0000
commitb938b6e289ef78815935ffa705673a6a8b2ee98e (patch)
tree917481c69f88c11c3f178b5a3e262273d01795b5 /src
parent9bc386382c44a83ddc141057f720d24a37a4c1c3 (diff)
downloadcoreutils-b938b6e289ef78815935ffa705673a6a8b2ee98e.tar.xz
stat,tail: improve support for HFS+ and HFSX
* src/stat.c (human_fstype): Add new file system ID definitions. * NEWS: Mention the improvement. Fixes http://bugs.gnu.org/16336
Diffstat (limited to 'src')
-rw-r--r--src/stat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index 4b87af5e7..270c03301 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -317,6 +317,10 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "gpfs";
case S_MAGIC_HFS: /* 0x4244 local */
return "hfs";
+ case S_MAGIC_HFS_PLUS: /* 0x482B local */
+ return "hfs+";
+ case S_MAGIC_HFS_X: /* 0x4858 local */
+ return "hfsx";
case S_MAGIC_HOSTFS: /* 0xC0FFEE local */
return "hostfs";
case S_MAGIC_HPFS: /* 0xF995E849 local */