gamin bug (was Re: gamin vs fam)
Jean-Yves Lefort
jylefort at FreeBSD.org
Wed Jun 8 21:34:34 GMT 2005
On Sun, 05 Jun 2005 15:30:38 -0700
Sean McNeil <sean at mcneil.com> wrote:
> Although I agree with Mezz that gamin rocks, there is a bug that still
> exists with regards to soft symlink directories.
Two bugs, actually. One in FAM, and one in Nautilus. But none in Gamin.
> Try this:
>
> cd ~
> mkdir dir1
> ln -s dir1 dir2
>
> bring up nautilus and look at dir1.
>
> touch dir1/file1
>
> all is perfect. Now, look at dir2 with nautilus.
>
> touch dir1/file2
>
> never shows.
>
> It would appear that a request to monitor a directory that is a symlink
> will not monitor the actual directory it is pointing to.
>
> I think this works with fam. I seem to remember seeing it do the right
> thing.
>From gam_kqueue.c:
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=bks&fname=/SGI_Developer/books/IIDsktp_IG/sgi_html/ch08.html
states that FAM does not follow monitored symbolic links: we do the
same (note that regarding http://oss.sgi.com/bugzilla/show_bug.cgi?id=405,
we do what FAM should do: we do not call g_dir_open() if the file is
a symbolic link).
--
Jean-Yves Lefort
jylefort at FreeBSD.org
http://lefort.be.eu.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050608/5caad760/attachment.bin
More information about the freebsd-gnome
mailing list