[Top][All Lists]
[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.
- tail + inotify over nfs,
Pádraig Brady <=
- Re: tail + inotify over nfs, Jim Meyering, 2009/12/13
- Re: tail + inotify over nfs, Andreas Schwab, 2009/12/13
- Re: tail + inotify over nfs, Giuseppe Scrivano, 2009/12/13
- Re: tail + inotify over nfs, Jim Meyering, 2009/12/13
- Re: tail + inotify over nfs, Pádraig Brady, 2009/12/15
- Re: tail + inotify over nfs, Giuseppe Scrivano, 2009/12/15
- Re: tail + inotify over nfs, Jim Meyering, 2009/12/16
- Re: tail + inotify over nfs, Pádraig Brady, 2009/12/22
- Re: tail + inotify over nfs, Jim Meyering, 2009/12/23
- Re: tail + inotify over nfs, Pádraig Brady, 2009/12/23