coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] stat,tail: recognize new file system type: panfs


From: Jim Meyering
Subject: [PATCH] stat,tail: recognize new file system type: panfs
Date: Fri, 01 Jun 2012 09:19:25 +0200

FYI,

>From 5fdd5c6310098c5ce3cbc608450d5c4104f18c2f Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 1 Jun 2012 09:14:25 +0200
Subject: [PATCH] stat,tail: recognize new file system type: panfs

* 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       | 8 ++++++++
 THANKS.in  | 1 +
 src/stat.c | 2 ++
 3 files changed, 11 insertions(+)

diff --git a/NEWS b/NEWS
index daea549..7c7c2c3 100644
--- 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]

diff --git a/THANKS.in b/THANKS.in
index 43c9d6b..b9a6c64 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -603,6 +603,7 @@ Toralf Förster                      address@hidden
 Torbjorn Granlund                   address@hidden
 Torbjorn Lindgren                   address@hidden
 Torsten Landschoff                  address@hidden
+Travis Gummels                      address@hidden
 Tristan Miller                      address@hidden
 Tzvi Rotshtein                      address@hidden
 Ulrich Drepper                      address@hidden
diff --git a/src/stat.c b/src/stat.c
index d80c624..94b63f6 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -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,
--
1.7.10.2.605.gbefc5ed



reply via email to

[Prev in Thread] Current Thread [Next in Thread]