Skip to main content.
home | support | download

Back to List Archive

Re: patch for filesystem indexing

From: John-Marc Chandonia <JMChandonia(at)>
Date: Thu May 20 2004 - 22:29:33 GMT
On Thu, May 20, 2004 at 02:52:21PM -0700, Bill Moseley wrote:
> On Thu, May 20, 2004 at 02:29:18PM -0700, John-Marc Chandonia wrote:
> > 	Why would anybody want to do this?  In my lab, we keep lab
> > notebooks in datestamped directories (e.g., /040520/) with symlinks to
> > the next and previous weeks (/040513/n/ is the same directory as
> > /040520/ or 040527/p/).
> Ok, so I'm clear:
> swish is indexing /040513/ and comes across "n" (/040513/n) and you have a
> FileRules setting to skip that.  But swish marks that /040513/n was
> visited, which is actually a symlink for /040520/ -- and it's really
> that directory that is marked as seen.
> So, later when swish tries to index /040520/ it sees that it was already
> indexed and skips it.
> Is that correct?

That's right.  It does call indexadir() on /040513/n/, which results
in it being marked as seen, but /040513/n/ is then skipped based
on my FileRules.  /040520/ is then skipped based on being seen,
although it's not in my FileRules.

John-Marc Chandonia (               We're everywhere...
Structural Genomics Center, Berkeley National Lab       for your convenience.                                 -- Psi Corps <*>
Received on Thu May 20 15:29:34 2004