bug#41935: tail: unrecognized file system type 0x786f4256
From:
Bernhard Voelker
Subject:
bug#41935: tail: unrecognized file system type 0x786f4256
Date:
Sat, 20 Jun 2020 16:15:07 +0200
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0
On 2020-06-18 17:57, Pausch Manfred wrote:
> Hello
>
> When I tail a logfile that’s located on a VirtualBox guest shared folder than
> I get this message:
>
> tail: unrecognized file system type 0x786f4256 for
> ‘oracle_12102_PSU190716-20200618_174315.log’. please report this to
> bug-coreutils@gnu.org. reverting to polling
>
> My setup:
> VirtualBox Guest: Oracle Linux 7.x
> VirtualBox Host: Windows 10
>
> A directory on the host is mapped into the guest via VirtualBox shared folder
> and mounted in the guest.
> The process that writes to the logfile runs inside the guest. And tail that
> follows the logfile also runs inside the guest.
Thanks for the report.
It's unusual that this FS-type slipped through for so long.
The attached fixes it.
An internet search unveils that inotify does not seem to work reliably
for 'vboxsf', and I think that this cannot really reliably work, e.g. if a
Windows
host exposes a directory on a CIFS share into a Linux guest VM (which works, I
tried).
Therefore, I've marked 'vboxsf' as a 'remote' file system which uses polling.
Have a nice day,
Berny