[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12356: tail doesn't know vzfs
From: |
Jim Meyering |
Subject: |
bug#12356: tail doesn't know vzfs |
Date: |
Wed, 05 Sep 2012 22:42:50 +0200 |
Jens Rosenboom wrote:
> tail: unrecognized file system type 0x565a4653 for ‘/var/log/messages’.
> please report this to address@hidden reverting to polling
>
> # mount
> /dev/vzfs on / type vzfs (rw,relatime)
>
> This is a container running on Parallels Virtuozzo 4.6, might also
> affect OpenVZ.
Thanks for the report.
This should fix it:
(marking "done" so I don't forget -- comments will still show
up and you're welcome to reopen, if desired)
>From 38c5e7d12151d7673c4118668eb43b24643e10da Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 5 Sep 2012 22:33:44 +0200
Subject: [PATCH] tail,stat: add support for VZFS
* src/stat.c (human_fstype): Add a case: vzfs, 0x565A4653 (local).
Reported by Jens Rosenboom in http://bugs.gnu.org/12356
---
src/stat.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/stat.c b/src/stat.c
index f75b7af..a9fb951 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -415,6 +415,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "v9fs";
case S_MAGIC_VXFS: /* 0xA501FCF5 local */
return "vxfs";
+ case S_MAGIC_VZFS: /* 0x565A4653 local */
+ return "vzfs";
case S_MAGIC_XENFS: /* 0xABBA1974 local */
return "xenfs";
case S_MAGIC_XENIX: /* 0x012FF7B4 local */
--
1.7.12.176.g3fc0e4c