diff options
author | Jim Meyering <meyering@redhat.com> | 2011-12-26 16:09:48 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-12-26 16:37:55 +0100 |
commit | b1230020dc5c5acc9f9ab16c3c397c0aecb5977b (patch) | |
tree | 65ad09903d18cb83fce697b91aac32a10f5e46f3 /src | |
parent | b2a6fb0ac925831f8b96f54e10633f24b7b33f12 (diff) | |
download | coreutils-b1230020dc5c5acc9f9ab16c3c397c0aecb5977b.tar.xz |
stat,tail: recognize new FS type: pipefs
* src/stat.c (human_fstype) [S_MAGIC_PIPEFS]: New case.
* NEWS (Bug fixes): Mention this.
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c index cb9a63cd3..d4de6c790 100644 --- a/src/stat.c +++ b/src/stat.c @@ -349,6 +349,11 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "openprom"; case S_MAGIC_OCFS2: /* 0x7461636f remote */ return "ocfs2"; + 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, + but this isn't really a remote file system type. */ + return "pipefs"; case S_MAGIC_PROC: /* 0x9FA0 local */ return "proc"; case S_MAGIC_PSTOREFS: /* 0x6165676C local */ |