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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12356 in the body.
You can then email your comments to 12356 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#12356; Package coreutils. (Wed, 05 Sep 2012 15:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jens Rosenboom <j.rosenboom <at> syseleven.de>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 05 Sep 2012 15:54:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jens Rosenboom <j.rosenboom <at> syseleven.de>
To: bug-coreutils <at> gnu.org
Subject: tail doesn't know vzfs
Date: Wed, 05 Sep 2012 14:12:46 +0200
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.

Yours,
Jens





Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Wed, 05 Sep 2012 20:44:01 GMT) Full text and rfc822 format available.

Notification sent to Jens Rosenboom <j.rosenboom <at> syseleven.de>:
bug acknowledged by developer. (Wed, 05 Sep 2012 20:44:02 GMT) Full text and rfc822 format available.

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




Information forwarded to bug-coreutils <at> gnu.org:
bug#12356; Package coreutils. (Thu, 06 Sep 2012 06:34:01 GMT) Full text and rfc822 format available.

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

From: Jim Meyering <jim <at> meyering.net>
To: 12356 <at> debbugs.gnu.org
Subject: Re: bug#12356: tail doesn't know vzfs
Date: Thu, 06 Sep 2012 08:32:55 +0200
Jim Meyering wrote:

> 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)

Nearly forgot to update NEWS:

 ** Improvements

-  stat and tail work better with ZFS.  stat -f --format=%T now reports the
-  file system type, "zfs", and tail -f now uses inotify for files on ZFS
-  file systems, rather than the default (for unknown file system types)
-  of polling.
+  stat and tail work better with ZFS and VZFS.  stat -f --format=%T now
+  reports the file system type, and tail -f now uses inotify for files
+  on those file systems, rather than the default (for unknown file system
+  types) of issuing a warning and reverting to polling.

With that, I've pushed the fix.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 04 Oct 2012 11:24:05 GMT) Full text and rfc822 format available.

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.