Re: [gamin] monitoring of links



On Wed, 24 Aug 2005 11:16:28 -0400
Daniel Veillard <veillard redhat com> wrote:

> On Thu, Aug 25, 2005 at 12:51:01AM +1000, TomPh wrote:
> > Hi all
> > 
> > I'm quite keen to see gamin comply with its (or at least, FAM's) stated
> > policy of not following links. Thanks to some recent effort by John
> > McC, the inotify backend is close to meeting that standard. The
> > dnotify backend seems to be further away. Can't comment on the others.
> > 
> > To facilitate this, seems to me that a couple of test-cases, dealing
> > with directory-links and non-directory-links, would help. I have
> > candidates, and a patch for testing.c to allow it to do linking. Does
> > this list have a policy on mailing attachments ? 
> 
>   no problem, use attachments to avoid scrambling by the MTA
> 
> > I figure that directory-monitoring an existing link to a dir should
> > report the same as attempting to monitor a non-existent dir. OK?
> 
>   Dunno, someone should check with famd :-\
> 
> > And completely ignore any newly-created link that would, if not a link,
> > be monitored as a dir. OK ?
> 
>   same answer checking with famd first would be better.
> 
> > And otherwise treat links as files in their own right, without reference
> > to their respective targets (if any).
> 
>   that's what FAM page says, how it actually behave might be slightly
> different.

Indeed:

http://oss.sgi.com/bugzilla/show_bug.cgi?id=405

-- 
Jean-Yves Lefort

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

Attachment: pgpgULw49WT6Q.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]