stat,tail: improve support for LogFS and ConfigFS

* src/stat.c (human_fstype): Add new file system ID definitions.
* NEWS: Mention the improvement.
This commit is contained in:
Pádraig Brady 2014-05-23 00:20:43 +01:00
parent 695a0b5502
commit 56c9a43ac2
2 changed files with 7 additions and 3 deletions

6
NEWS
View File

@ -110,9 +110,9 @@ GNU coreutils NEWS -*- outline -*-
split avoids unnecessary input buffering, immediately writing input to output
which is significant with --filter or when writing to fifos or stdout etc.
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.
stat and tail work better with HFS+, HFSX, LogFS and ConfigFS. stat -f
--format=%T now reports the file system type, and tail -f now uses inotify,
rather than the default of issuing a warning and reverting to polling.
* Noteworthy changes in release 8.22 (2013-12-13) [stable]

View File

@ -280,6 +280,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "coda";
case S_MAGIC_COH: /* 0x012FF7B7 local */
return "coh";
case S_MAGIC_CONFIGFS: /* 0x62656570 local */
return "configfs";
case S_MAGIC_CRAMFS: /* 0x28CD3D45 local */
return "cramfs";
case S_MAGIC_CRAMFS_WEND: /* 0x453DCD28 local */
@ -350,6 +352,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "jfs";
case S_MAGIC_KAFS: /* 0x6B414653 remote */
return "k-afs";
case S_MAGIC_LOGFS: /* 0xC97E8168 local */
return "logfs";
case S_MAGIC_LUSTRE: /* 0x0BD00BD0 remote */
return "lustre";
case S_MAGIC_MINIX: /* 0x137F local */