From 5fdd5c6310098c5ce3cbc608450d5c4104f18c2f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 1 Jun 2012 09:14:25 +0200 Subject: 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 daea54997..7c7c2c30e 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 43c9d6b93..b9a6c64af 100644 --- 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 diff --git a/src/stat.c b/src/stat.c index d80c62448..94b63f61d 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, -- cgit v1.2.3-70-g09d2