From owner-freebsd-gnome@FreeBSD.ORG Sun Feb 12 16:01:29 2006 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D20AC16A420; Sun, 12 Feb 2006 16:01:29 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 321A643D45; Sun, 12 Feb 2006 16:01:29 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.4/8.13.4) with ESMTP id k1CG1jao023791; Sun, 12 Feb 2006 11:01:45 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Suleiman Souhlal 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Hh58aWinwlTP1KPU+ct7" Organization: MarcusCom, Inc. Date: Sun, 12 Feb 2006 11:01:27 -0500 Message-Id: <1139760087.75006.3.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: gnome@FreeBSD.org, jylefort@FreeBSD.org Subject: Re: problems rhythmbox 0.9.3.1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2006 16:01:30 -0000 --=-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--