lkml.org 
[lkml]   [2006]   [Mar]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 6 Mar 2006 01:04:24 +0000
From"Jon Masters" <>
SubjectRe: [OT] inotify hack for locate
On 3/5/06, Chris Ball <cjb@mrao.cam.ac.uk> wrote:
> >> On 5 Mar 2006 21:36:19, Jon Masters <jonmasters@gmail.com> said:
>
>    > I'm fed up with those finds running whenever I power on. Has
>    > anyone written an equivalent of the Microsoft indexing service to
>    > update locate's database?

> I think the reason this hasn't been done is that inotify_add_watch()es
> are non-recursive:  you'd need a watch over every directory, and you'd
> need a crawling step (churn, churn) to enumerate the directories to
> add watches for.

You're right. What I want really is to be able to bind to a netlink
socket and get told about particular file IO operations I'm interested
in for the /whole/ of a filesystem. The same kind of thing that real
time anti-virus/anti-spam people want to do anyway.

Thanks for the links, Chris. I've not been following Beagle
development (lost interest after the OLS talk got cancelled) very
closely so wasn't aware of the current implementation.

Jon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-06 12:11    [from the cache]
©2003-2008