GNU bug report logs - #12356
tail doesn't know vzfs

Previous Next

Package: coreutils;

Reported by: Jens Rosenboom <j.rosenboom <at> syseleven.de>

Date: Wed, 5 Sep 2012 15:54:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 12356-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Jens Rosenboom <j.rosenboom <at> syseleven.de>
Cc: 12356-done <at> debbugs.gnu.org
Subject: Re: 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 bug-coreutils <at> gnu.org. 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 <meyering <at> redhat.com>
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




This bug report was last modified 12 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.