summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-12-22 09:26:31 +0100
committerJim Meyering <meyering@redhat.com>2011-12-22 09:36:31 +0100
commit896529709230021ba3d2b0000b28a6c4af13970a (patch)
tree3987134dbc1952980afa04494e214ac93df054f6 /src
parented71262bc258311690e7761154f8413465d9c78e (diff)
downloadcoreutils-896529709230021ba3d2b0000b28a6c4af13970a.tar.xz
tail,stat: add support for FhGFS
* src/stat.c (human_fstype): Add a case: fhgfs, 0x19830326. * src/tail.c (fremote): Add S_MAGIC_FHGFS. * NEWS (Bug fixes): Update the entry for GPFS to mention FhGFS, too. Reported by Sven Breuner.
Diffstat (limited to 'src')
-rw-r--r--src/stat.c2
-rw-r--r--src/tail.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index 0f87dfdfa..801073b3e 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -285,6 +285,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "ext2";
case S_MAGIC_FAT: /* 0x4006 */
return "fat";
+ case S_MAGIC_FHGFS: /* 0x19830326 */
+ return "fhgfs";
case S_MAGIC_FUSEBLK: /* 0x65735546 */
return "fuseblk";
case S_MAGIC_FUSECTL: /* 0x65735543 */
diff --git a/src/tail.c b/src/tail.c
index 1641a12d4..1f619f3eb 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -905,6 +905,7 @@ fremote (int fd, const char *name)
case S_MAGIC_FUSECTL:
case S_MAGIC_GFS:
case S_MAGIC_GPFS:
+ case S_MAGIC_FHGFS:
case S_MAGIC_KAFS:
case S_MAGIC_LUSTRE:
case S_MAGIC_NCP: