How to exclude directories from gamin?

Mike Harding mvh at ix.netcom.com
Thu Apr 16 01:26:31 UTC 2009


I have tinderbox set up to share the distcache, I think the umount
fails, and something then removes the directory, which happens to have
the real contents in it.

If you do an 'lsof' it looks like gam_server monitors every open file
for every process in your gnome session.  Somehow it even started
monitoring the tinderbox directory, even though I opened the tinderbox
session in a console from root.

Here's a sampling of the lsof spewage, again, over 6600 files are opened:

...
gam_serve 20907        mvh 5020r    VREG      0,117          7 11210757 /usr/home/mvh/.local/share/Trash/files/new file
gam_serve 20907        mvh 5021r    VREG      0,117       5223 11210758 /usr/home/mvh/.local/share/Trash/files/vumeter.desktop
gam_serve 20907        mvh 5022r    VREG      0,117       7365 11221613 /usr/home/mvh/.local/share/Trash/files/pidgin-bugreport.txt
gam_serve 20907        mvh 5023r    VDIR      0,117       1536  9094796 /usr/local/tinderbox/portstrees/FreeBSD/ports (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (216,134610985))
gam_serve 20907        mvh 5024r    VDIR      0,117       1536  9470669 /usr/local/tinderbox/portstrees/FreeBSD/ports/Mk (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (40,134610985))
gam_serve 20907        mvh 5025r    VREG      0,117       1298  9094805 /usr/local/tinderbox/portstrees/FreeBSD/ports/README (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (53,134610985))
gam_serve 20907        mvh 5026r    VREG      0,117         19  9094797 /usr/local/tinderbox/portstrees/FreeBSD/ports/.cvsignore (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (99,134610985))
gam_serve 20907        mvh 5027r    VREG      0,117      55172  9094772 /usr/local/tinderbox/portstrees/FreeBSD/ports/CHANGES (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (229,134610985))
gam_serve 20907        mvh 5028r    VREG      0,117       1499  9091083 /usr/local/tinderbox/portstrees/FreeBSD/ports/COPYRIGHT (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (61,134610985))
gam_serve 20907        mvh 5029r    VREG      0,117       2052  9091930 /usr/local/tinderbox/portstrees/FreeBSD/ports/GIDs (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (100,134610985))
gam_serve 20907        mvh 5030r    VREG      0,117       4410  9096930 /usr/local/tinderbox/portstrees/FreeBSD/ports/KNOBS (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (40,134610985))
gam_serve 20907        mvh 5031r    VREG      0,117      34407  9091931 /usr/local/tinderbox/portstrees/FreeBSD/ports/LEGAL (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (53,134610985))
gam_serve 20907        mvh 5032r    VREG      0,117     294844  9091738 /usr/local/tinderbox/portstrees/FreeBSD/ports/MOVED (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (26,134610985))
gam_serve 20907        mvh 5033r    VREG      0,117       6058  9094804 /usr/local/tinderbox/portstrees/FreeBSD/ports/Makefile (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (104,134610985))
gam_serve 20907        mvh 5034r    VDIR      0,117        512  9470711 /usr/local/tinderbox/portstrees/FreeBSD/ports/Templates (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (243,134610985))
gam_serve 20907        mvh 5035r    VDIR      0,117        512  9470718 /usr/local/tinderbox/portstrees/FreeBSD/ports/Tools (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (220,134610985))
gam_serve 20907        mvh 5036r    VDIR      0,117       1024  9470873 /usr/local/tinderbox/portstrees/FreeBSD/ports/accessibility (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (25,134610985))
gam_serve 20907        mvh 5037r    VREG      0,117      10428  9091933 /usr/local/tinderbox/portstrees/FreeBSD/ports/UIDs (nullfs /usr/local/tinderbox/portstrees/FreeBSD/ports on /usr/local/tinderbox/7.1-FreeBSD/a/ports (24,134610985))
...


More information about the freebsd-gnome mailing list