Date: Sun, 12 Feb 2006 11:01:27 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Suleiman Souhlal <ssouhlal@FreeBSD.org> Cc: gnome@FreeBSD.org, jylefort@FreeBSD.org Subject: Re: problems rhythmbox 0.9.3.1 Message-ID: <1139760087.75006.3.camel@shumai.marcuscom.com> In-Reply-To: <43EF193F.7040905@FreeBSD.org> References: <1139185642.25725.167.camel@wolverine> <1139187760.730.10.camel@shumai.marcuscom.com> <1139647425.79253.4.camel@shumai.marcuscom.com> <1139674838.37533.78.camel@wolverine> <1139685927.59900.1.camel@shumai.marcuscom.com> <1139713316.37533.84.camel@wolverine> <1139713404.59900.36.camel@shumai.marcuscom.com> <1139726108.12426.18.camel@shumai.marcuscom.com> <1139730552.91280.4.camel@shumai.marcuscom.com> <43EF193F.7040905@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-Hh58aWinwlTP1KPU+ct7 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2006-02-12 at 12:17 +0100, Suleiman Souhlal wrote: > Joe Marcus Clarke wrote: >=20 > > Sorry, this doesn't work. On closer inspection, all events would be > > ignored by r-b if this was done. I've copied Jean-Yves and Suleiman on > > this to get their opinion. I checked how Linux's inotify works, and > > they have separate events for st_atime changing vs. other attributes > > (IN_ACCESS vs. IN_ATTRIB). Perhaps we should do something similar. >=20 > Sounds like a reasonable thing to do. I'll try to implement it, by=20 > adding a NOTE_ACCESS knote, but I don't think this can make it to the=20 > 6.x branch. Thanks for looking into the feature. The same thought occurred to me about merging. This would constitute a POLA change that would probably not be allowed in any stable branch :-(. >=20 > > In the meantime, the best solutions I can come up with are to disable > > NOTE_ATTRIB processing in gamin, or turn off library monitoring in > > rhythmbox. >=20 > I think the best solution would be to have a way to tell gamin which=20 > events we care about (I don't really know anything about gamin, so there=20 > may already be such a thing). We already do that in the since we set (NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB | NOTE_LINK) to watch for "changed" events. If we remove NOTE_ATTRIB from the list, we will lose chmod/chown and touch events. > Alternatively, you can mount your filesystem with the noatime option. Yep. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Hh58aWinwlTP1KPU+ct7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD71vXb2iPiv4Uz4cRAu4PAJ9KFJDXEhTcA02LYe96Zq742XLZRACfYRcF e51aSVDA91pIly2/Mkgfiac= =VIJm -----END PGP SIGNATURE----- --=-Hh58aWinwlTP1KPU+ct7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139760087.75006.3.camel>