Subject: Re: bug#12356: tail doesn't know vzfs

From: Jim Meyering <[email-masked]>
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 [email-masked]. 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.