]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tail,stat: improve support for the IBRIX file system
authorShane M Seymour <shane.seymour@hp.com>
Fri, 27 Feb 2015 17:52:51 +0000 (18:52 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Fri, 27 Feb 2015 17:54:01 +0000 (18:54 +0100)
Note that IBRIX used to have a different magic number 0x013111A7
instead of the current 0x013111A8.  However, the former is no longer
used and the version of IBRIX it was used in is really ancient, so
it's extremely unlikely anyone is still using it.  Therefore, just
add the newer magic number.
Mark IBRIX as a 'remote' file system type as inotify support had
never been officially tested with it.

* src/stat.c (human_fstype): Add file system ID definition.
* NEWS: Mention the improvement.

Fixes http://bugs.gnu.org/19951

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index d2d8046a4dbd1685c22ecd80487f2f62e456eb0a..8aef1a672b2ea4266da319ae447325dc540631b6 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -90,6 +90,9 @@ GNU coreutils NEWS                                    -*- outline -*-
   mv will try a reflink before falling back to a standard copy, which is
   more efficient when moving files across BTRFS subvolume boundaries.
 
+  stat and tail now know about IBRIX.  stat -f --format=%T now reports the file
+  system type, and tail -f uses polling for files on IBRIX file systems.
+
   References from --help and the man pages of utilities have been corrected
   in various cases, and more direct links to the corresponding online
   documentation are provided.
index 625e0f90db26baed1e453084d572f9ecda92112d..4b5aff71fd110c227173b22bca489b770bc1a658 100644 (file)
@@ -336,6 +336,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "hugetlbfs";
     case S_MAGIC_MTD_INODE_FS: /* 0x11307854 local */
       return "inodefs";
+    case S_MAGIC_IBRIX: /* 0x013111A8 remote */
+      return "ibrix";
     case S_MAGIC_INOTIFYFS: /* 0x2BAD1DEA local */
       return "inotifyfs";
     case S_MAGIC_ISOFS: /* 0x9660 local */