diff options
author | Jim Meyering <meyering@redhat.com> | 2012-06-01 09:14:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-06-01 09:15:37 +0200 |
commit | 5fdd5c6310098c5ce3cbc608450d5c4104f18c2f (patch) | |
tree | 4bd9d7d1711989acbf515d0f668f1c913e62b46c | |
parent | 58184f6861894d91dca98cf2572d97fe70316b9b (diff) | |
download | coreutils-5fdd5c6310098c5ce3cbc608450d5c4104f18c2f.tar.xz |
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
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | src/stat.c | 2 |
3 files changed, 11 insertions, 0 deletions
@@ -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] @@ -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, |