]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat,tail: recognize new file system type: panfs
authorJim Meyering <meyering@redhat.com>
Fri, 1 Jun 2012 07:14:25 +0000 (09:14 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 1 Jun 2012 07:15:37 +0000 (09:15 +0200)
* src/stat.c (human_fstype) [__linux__]: Add a 'case' for the new
remote file system type: panfs (0xAAD7AAEA).
* NEWS (New features): Mention stat -f.
(Bug fixes): Mention it for tail -f.
Reported by Travis Gummels in http://bugzilla.redhat.com/827199

NEWS
THANKS.in
src/stat.c

diff --git a/NEWS b/NEWS
index daea549970ec5cf9ed9bf7478e053ecb87e0a96b..7c7c2c30e774663da1521154920850921eec359a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,14 @@ GNU coreutils NEWS                                    -*- outline -*-
   in all situations on GNU/Linux, by correctly determining the block size.
   [df bug since coreutils-5.0.91, stat bug since the initial implementation]
 
+  tail -f no longer tries to use inotify on PanFS file systems
+  [you might say this was introduced in coreutils-7.5, along with inotify
+   support, but even now, its magic number isn't in the usual place.]
+
+** New features
+
+  stat -f recognizes the new remote file system type, panfs.
+
 
 * Noteworthy changes in release 8.17 (2012-05-10) [stable]
 
index 43c9d6b93cfdbfd876c0f8d24dfd8d1679840250..b9a6c64af1f7ecbfd05fd32d3fd6a9b8c75b8e3f 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
@@ -603,6 +603,7 @@ Toralf Förster                      toralf.foerster@gmx.de
 Torbjorn Granlund                   tege@nada.kth.se
 Torbjorn Lindgren                   tl@funcom.no
 Torsten Landschoff                  torsten@pclab.ifg.uni-kiel.de
+Travis Gummels                      tgummels@redhat.com
 Tristan Miller                      psychonaut@nothingisreal.com
 Tzvi Rotshtein                      tzvi.ro@gmail.com
 Ulrich Drepper                      drepper@gnu.org
index d80c624481cc3f4d93a6fb68add4ff97b1207884..94b63f61d85873943e80771495c15e4de16540ca 100644 (file)
@@ -357,6 +357,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "openprom";
     case S_MAGIC_OCFS2: /* 0x7461636f remote */
       return "ocfs2";
+    case S_MAGIC_PANFS: /* 0xAAD7AAEA remote */
+      return "panfs";
     case S_MAGIC_PIPEFS: /* 0x50495045 remote */
       /* FIXME: change syntax or add an optional attribute like "inotify:no".
          The above is labeled as "remote" so that tail always uses polling,