diff options
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/stat.c | 4 |
2 files changed, 10 insertions, 0 deletions
@@ -18,6 +18,12 @@ GNU coreutils NEWS -*- outline -*- it would display an error, requiring --no-dereference to avoid the issue. [bug introduced in coreutils-5.3.0] +** Improvements + + stat and tail work better with HFS+ and HFSX. stat -f --format=%T now reports + the file system type, and tail -f now uses inotify for files, rather than the + default of issuing a warning and reverting to polling. + * Noteworthy changes in release 8.22 (2013-12-13) [stable] 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 */ |