Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 23:34:31 +0200
From:      Jean-Yves Lefort <jylefort@FreeBSD.org>
To:        sean@mcneil.com
Cc:        gnome@freebsd.org
Subject:   Re: gamin bug (was Re: gamin vs fam)
Message-ID:  <20050608233431.20e67611.jylefort@FreeBSD.org>
In-Reply-To: <1118010638.80218.5.camel@server.mcneil.com>
References:  <1117993395.12774.11.camel@server.mcneil.com> <1117993795.33641.3.camel@shumai.marcuscom.com> <1118010638.80218.5.camel@server.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Wed__8_Jun_2005_23_34_31_+0200_Zb_+278NclK_3kiP
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 05 Jun 2005 15:30:38 -0700
Sean McNeil <sean@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:
>=20
> cd ~
> mkdir dir1
> ln -s dir1 dir2
>=20
> bring up nautilus and look at dir1.
>=20
> touch dir1/file1
>=20
> all is perfect.  Now, look at dir2 with nautilus.
>=20
> touch dir1/file2
>=20
> never shows.
>=20
> It would appear that a request to monitor a directory that is a symlink
> will not monitor the actual directory it is pointing to.
>=20
> 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=3D0650&db=3Dbks=
&fname=3D/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=3D405,
we do what FAM should do: we do not call g_dir_open() if the file is
a symbolic link).

--=20
Jean-Yves Lefort

jylefort@FreeBSD.org
http://lefort.be.eu.org/

--Signature=_Wed__8_Jun_2005_23_34_31_+0200_Zb_+278NclK_3kiP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCp2RnyzD7UaO4AGoRAjDvAJ93WXb9aRgNDrhWMZyQAx9Lp5LfzQCeJYje
v3kO6jODPjEUZhj3QibsyTc=
=4Hc3
-----END PGP SIGNATURE-----

--Signature=_Wed__8_Jun_2005_23_34_31_+0200_Zb_+278NclK_3kiP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050608233431.20e67611.jylefort>