diff options
author | Shane M Seymour <shane.seymour@hp.com> | 2015-02-27 18:52:51 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2015-02-27 18:54:01 +0100 |
commit | e60547db04ff30b9341386837a35ffb15c3c7789 (patch) | |
tree | f2b0a322834bcafae87e3374384a5797f3fd736d /src | |
parent | fdd6ebf0ae786681e99afdaf1ef44bb750e66b2d (diff) | |
download | coreutils-e60547db04ff30b9341386837a35ffb15c3c7789.tar.xz |
tail,stat: improve support for the IBRIX file system
Note that IBRIX used to have a different magic number 0x013111A7
instead of the current 0x013111A8. However, the former is no longer
used and the version of IBRIX it was used in is really ancient, so
it's extremely unlikely anyone is still using it. Therefore, just
add the newer magic number.
Mark IBRIX as a 'remote' file system type as inotify support had
never been officially tested with it.
* src/stat.c (human_fstype): Add file system ID definition.
* NEWS: Mention the improvement.
Fixes http://bugs.gnu.org/19951
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c index 625e0f90d..4b5aff71f 100644 --- a/src/stat.c +++ b/src/stat.c @@ -336,6 +336,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "hugetlbfs"; case S_MAGIC_MTD_INODE_FS: /* 0x11307854 local */ return "inodefs"; + case S_MAGIC_IBRIX: /* 0x013111A8 remote */ + return "ibrix"; case S_MAGIC_INOTIFYFS: /* 0x2BAD1DEA local */ return "inotifyfs"; case S_MAGIC_ISOFS: /* 0x9660 local */ |