bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tail + inotify over nfs


From: Pádraig Brady
Subject: tail + inotify over nfs
Date: Sun, 13 Dec 2009 01:43:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

I've just noticed that `tail -f` will not work over NFS
as changes on the remote system will not go through
the local VFS and so will not be noticed by inotify.
Testing with `tail -s.1 ---disable-inotify` does get the
changes noticed, albeit after a delay of 3s on my setup.

So what to do? I suppose we could statfs("filename")
and then use polling for CIFS CODA FUSECTL? LUSTRE NFS SMB.
I wonder should lib/mountlist.c::read_file_system_list()
be updated as it only considers NFS, SMB and CIFS as remote?
Also I wonder why GFS is not in the fs.h list?

cheers,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]