* [OT] inotify hack for locate
@ 2006-03-05 21:36 Jon Masters
2006-03-05 21:42 ` Jesper Juhl
` (3 more replies)
0 siblings, 4 replies; 24+ messages in thread
From: Jon Masters @ 2006-03-05 21:36 UTC (permalink / raw)
To: Linux Kernel
Folks,
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 know about Beagle and friends but I'd be interested in whatever I'm
missing that specifically solves the above problem - I'm sure it's
been done :-)
Jon.
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: [OT] inotify hack for locate 2006-03-05 21:36 [OT] inotify hack for locate Jon Masters @ 2006-03-05 21:42 ` Jesper Juhl 2006-03-05 21:50 ` Jon Masters 2006-03-05 21:53 ` Robin Holt 2006-03-05 21:43 ` Lee Revell ` (2 subsequent siblings) 3 siblings, 2 replies; 24+ messages in thread From: Jesper Juhl @ 2006-03-05 21:42 UTC (permalink / raw) To: jonathan; +Cc: Linux Kernel On 3/5/06, Jon Masters <jonmasters@gmail.com> wrote: > Folks, > > I'm fed up with those finds running whenever I power on. You run updatedb at boot time? Why not run it from cron at night like most people do? Personally I run it at 04:40. -- Jesper Juhl <jesper.juhl@gmail.com> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:42 ` Jesper Juhl @ 2006-03-05 21:50 ` Jon Masters 2006-03-06 9:23 ` Helge Hafting 2006-03-05 21:53 ` Robin Holt 1 sibling, 1 reply; 24+ messages in thread From: Jon Masters @ 2006-03-05 21:50 UTC (permalink / raw) To: Jesper Juhl; +Cc: Linux Kernel On 3/5/06, Jesper Juhl <jesper.juhl@gmail.com> wrote: > On 3/5/06, Jon Masters <jonmasters@gmail.com> wrote: > > I'm fed up with those finds running whenever I power on. > You run updatedb at boot time? No, but said box will catch up cron jobs on boot. > Why not run it from cron at night like most people do? That's not the point. It usually does. I'm interested to know if anyone has written a daemon that can sit and just do this synchronously on my desktop - then not only do I /not/ have to run updatedb every day but I can also have a locate that is always up to the minute. Jon. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:50 ` Jon Masters @ 2006-03-06 9:23 ` Helge Hafting 2006-03-06 21:59 ` Pavel Machek 0 siblings, 1 reply; 24+ messages in thread From: Helge Hafting @ 2006-03-06 9:23 UTC (permalink / raw) To: jonathan; +Cc: Jesper Juhl, Linux Kernel Jon Masters wrote: >On 3/5/06, Jesper Juhl <jesper.juhl@gmail.com> wrote: > > > >>On 3/5/06, Jon Masters <jonmasters@gmail.com> wrote: >> >> > > > >>>I'm fed up with those finds running whenever I power on. >>> >>> > > > >>You run updatedb at boot time? >> >> > >No, but said box will catch up cron jobs on boot. > > > >>Why not run it from cron at night like most people do? >> >> > >That's not the point. It usually does. I'm interested to know if >anyone has written a daemon that can sit and just do this >synchronously on my desktop - then not only do I /not/ have to run >updatedb every day but I can also have a locate that is always up to >the minute. > > I haven't heard about anyone doing this. You could modify the VFS to notify you everytime a file is created, moved or deleted. That should give you what you want, but at the cost of delaying those operations. Another option would be to make a filesystem that stores its directory structure (or a copy of it) in a single file, so that a locate-like program can do quick lookups of the always-correct data. Helge Hafting ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 9:23 ` Helge Hafting @ 2006-03-06 21:59 ` Pavel Machek 0 siblings, 0 replies; 24+ messages in thread From: Pavel Machek @ 2006-03-06 21:59 UTC (permalink / raw) To: Helge Hafting; +Cc: jonathan, Jesper Juhl, Linux Kernel Hi! > >That's not the point. It usually does. I'm interested to know if > >anyone has written a daemon that can sit and just do this > >synchronously on my desktop - then not only do I /not/ have to run > >updatedb every day but I can also have a locate that is always up to > >the minute. > > > > > I haven't heard about anyone doing this. You could modify > the VFS to notify you everytime a file is created, moved or deleted. > That should give you what you want, but at the cost of delaying > those operations. > > Another option would be to make a filesystem that stores its > directory structure (or a copy of it) in a single file, so that > a locate-like program can do quick lookups of the always-correct > data. Better way is probably to create M-RECURSIVE-TIME field in inode -- similar to MTIME but counting modifications in directories. There are many applications that would like to watch file modifications, and some of them (like locate) are not running all the time. Pavel -- Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted... ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:42 ` Jesper Juhl 2006-03-05 21:50 ` Jon Masters @ 2006-03-05 21:53 ` Robin Holt 2006-03-05 22:02 ` Jon Masters 1 sibling, 1 reply; 24+ messages in thread From: Robin Holt @ 2006-03-05 21:53 UTC (permalink / raw) To: Jesper Juhl; +Cc: jonathan, Linux Kernel On Sun, Mar 05, 2006 at 10:42:39PM +0100, Jesper Juhl wrote: > On 3/5/06, Jon Masters <jonmasters@gmail.com> wrote: > > Folks, > > > > I'm fed up with those finds running whenever I power on. > > You run updatedb at boot time? > Why not run it from cron at night like most people do? > Personally I run it at 04:40. I use suspend to disk on my laptop. When I power it back up in the morning, updatedb starts. Thanks, Robin ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:53 ` Robin Holt @ 2006-03-05 22:02 ` Jon Masters 0 siblings, 0 replies; 24+ messages in thread From: Jon Masters @ 2006-03-05 22:02 UTC (permalink / raw) To: Robin Holt; +Cc: Jesper Juhl, Linux Kernel On 3/5/06, Robin Holt <holt@sgi.com> wrote: > I use suspend to disk on my laptop. When I power it back up in the > morning, updatedb starts. It just seems to me that things like Beagle are all well and good, but what would be really useful to /me/ :-) is a hack for locate. It's probably been done and I'm rambling for nothing - someone put me out of my misery with a link? Or I can look at fixing it for myself otherwise. This is something Microsoft almost "get right" with their fast indexing service. Jon. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:36 [OT] inotify hack for locate Jon Masters 2006-03-05 21:42 ` Jesper Juhl @ 2006-03-05 21:43 ` Lee Revell 2006-03-05 23:08 ` Benjamin LaHaise 2006-03-05 23:41 ` Chris Ball 2006-03-06 7:49 ` Arjan van de Ven 3 siblings, 1 reply; 24+ messages in thread From: Lee Revell @ 2006-03-05 21:43 UTC (permalink / raw) To: jonathan; +Cc: Linux Kernel On Sun, 2006-03-05 at 21:36 +0000, Jon Masters wrote: > Folks, > > 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 know about Beagle and friends but I'd be interested in whatever I'm > missing that specifically solves the above problem - I'm sure it's > been done :-) updatedb runs at nice 20 on most distros, and with the CFQ scheduler the IO priority follows the nice value, so why does it still kill the machine? Lee ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:43 ` Lee Revell @ 2006-03-05 23:08 ` Benjamin LaHaise 2006-03-05 23:30 ` Måns Rullgård 0 siblings, 1 reply; 24+ messages in thread From: Benjamin LaHaise @ 2006-03-05 23:08 UTC (permalink / raw) To: Lee Revell; +Cc: jonathan, Linux Kernel On Sun, Mar 05, 2006 at 04:43:03PM -0500, Lee Revell wrote: > updatedb runs at nice 20 on most distros, and with the CFQ scheduler the > IO priority follows the nice value, so why does it still kill the > machine? Running updatedb on a laptop when you're sitting in an airplane running off of batteries is Not Nice to the user. I know, I've had it happen far too many times. -ben -- "Time is of no importance, Mr. President, only life is important." Don't Email: <dont@kvack.org>. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 23:08 ` Benjamin LaHaise @ 2006-03-05 23:30 ` Måns Rullgård 2006-03-06 21:53 ` Pavel Machek 0 siblings, 1 reply; 24+ messages in thread From: Måns Rullgård @ 2006-03-05 23:30 UTC (permalink / raw) To: linux-kernel Benjamin LaHaise <bcrl@kvack.org> writes: > On Sun, Mar 05, 2006 at 04:43:03PM -0500, Lee Revell wrote: >> updatedb runs at nice 20 on most distros, and with the CFQ scheduler the >> IO priority follows the nice value, so why does it still kill the >> machine? > > Running updatedb on a laptop when you're sitting in an airplane running > off of batteries is Not Nice to the user. I know, I've had it happen far > too many times. Running updatedb only if AC powered shouldn't be too difficult. -- Måns Rullgård mru@inprovide.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 23:30 ` Måns Rullgård @ 2006-03-06 21:53 ` Pavel Machek 2006-03-06 22:08 ` Måns Rullgård 0 siblings, 1 reply; 24+ messages in thread From: Pavel Machek @ 2006-03-06 21:53 UTC (permalink / raw) To: M?ns Rullg?rd; +Cc: linux-kernel On Ne 05-03-06 23:30:09, M?ns Rullg?rd wrote: > Benjamin LaHaise <bcrl@kvack.org> writes: > > > On Sun, Mar 05, 2006 at 04:43:03PM -0500, Lee Revell wrote: > >> updatedb runs at nice 20 on most distros, and with the CFQ scheduler the > >> IO priority follows the nice value, so why does it still kill the > >> machine? > > > > Running updatedb on a laptop when you're sitting in an airplane running > > off of batteries is Not Nice to the user. I know, I've had it happen far > > too many times. > > Running updatedb only if AC powered shouldn't be too difficult. That makes locate useless on some machines. I have sharp zaurus C3000 here... It is either powered on *or* connected on AC, but very rarely connected to ac while turned on. Well, its power plug located at weird place and old software version that prevents charging while turned on is contributory factor, but... Pavel -- Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted... ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 21:53 ` Pavel Machek @ 2006-03-06 22:08 ` Måns Rullgård 2006-03-06 22:22 ` Pavel Machek 2006-03-08 13:56 ` Jan Engelhardt 0 siblings, 2 replies; 24+ messages in thread From: Måns Rullgård @ 2006-03-06 22:08 UTC (permalink / raw) To: linux-kernel Pavel Machek <pavel@ucw.cz> writes: > On Ne 05-03-06 23:30:09, M?ns Rullg?rd wrote: >> Benjamin LaHaise <bcrl@kvack.org> writes: >> >> > On Sun, Mar 05, 2006 at 04:43:03PM -0500, Lee Revell wrote: >> >> updatedb runs at nice 20 on most distros, and with the CFQ scheduler the >> >> IO priority follows the nice value, so why does it still kill the >> >> machine? >> > >> > Running updatedb on a laptop when you're sitting in an airplane running >> > off of batteries is Not Nice to the user. I know, I've had it happen far >> > too many times. >> >> Running updatedb only if AC powered shouldn't be too difficult. > > That makes locate useless on some machines. I have sharp zaurus C3000 > here... It is either powered on *or* connected on AC, but very rarely > connected to ac while turned on. Well, its power plug located at weird > place and old software version that prevents charging while turned on > is contributory factor, but... OK, although that surely must be an exception. Most laptops run happily with AC connected, and the current power source is easily obtained from some file in /proc that I've forgotten the name of. -- Måns Rullgård mru@inprovide.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 22:08 ` Måns Rullgård @ 2006-03-06 22:22 ` Pavel Machek 2006-03-08 13:56 ` Jan Engelhardt 1 sibling, 0 replies; 24+ messages in thread From: Pavel Machek @ 2006-03-06 22:22 UTC (permalink / raw) To: M?ns Rullg?rd; +Cc: kernel list On Po 06-03-06 22:08:28, M?ns Rullg?rd wrote: > Pavel Machek <pavel@ucw.cz> writes: > > > On Ne 05-03-06 23:30:09, M?ns Rullg?rd wrote: > >> Benjamin LaHaise <bcrl@kvack.org> writes: > >> > >> > On Sun, Mar 05, 2006 at 04:43:03PM -0500, Lee Revell wrote: > >> >> updatedb runs at nice 20 on most distros, and with the CFQ scheduler the > >> >> IO priority follows the nice value, so why does it still kill the > >> >> machine? > >> > > >> > Running updatedb on a laptop when you're sitting in an airplane running > >> > off of batteries is Not Nice to the user. I know, I've had it happen far > >> > too many times. > >> > >> Running updatedb only if AC powered shouldn't be too difficult. > > > > That makes locate useless on some machines. I have sharp zaurus C3000 > > here... It is either powered on *or* connected on AC, but very rarely > > connected to ac while turned on. Well, its power plug located at weird > > place and old software version that prevents charging while turned on > > is contributory factor, but... > > OK, although that surely must be an exception. Most laptops run > happily with AC connected, and the current power source is easily > obtained from some file in /proc that I've forgotten the name of. This is really small machine. Yes, it is an exception... ..and you could modify cron to know about AC power. Something like "do every day at 4 am if you are on AC power; delay it if you are on DC power, but for no more than 3 days"... should do the trick. Actually that modification to cron would be probably useful for non-updatedb stuff, too.... Pavel -- Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted... ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 22:08 ` Måns Rullgård 2006-03-06 22:22 ` Pavel Machek @ 2006-03-08 13:56 ` Jan Engelhardt 1 sibling, 0 replies; 24+ messages in thread From: Jan Engelhardt @ 2006-03-08 13:56 UTC (permalink / raw) To: Måns Rullgård; +Cc: linux-kernel > >OK, although that surely must be an exception. Most laptops run >happily with AC connected, and the current power source is easily >obtained from some file in /proc that I've forgotten the name of. > /sys/acpi/battery/BAT1/state for me. Jan Engelhardt -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:36 [OT] inotify hack for locate Jon Masters 2006-03-05 21:42 ` Jesper Juhl 2006-03-05 21:43 ` Lee Revell @ 2006-03-05 23:41 ` Chris Ball 2006-03-06 1:04 ` Jon Masters 2006-03-06 7:49 ` Arjan van de Ven 3 siblings, 1 reply; 24+ messages in thread From: Chris Ball @ 2006-03-05 23:41 UTC (permalink / raw) To: jonathan; +Cc: Linux Kernel >> 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. Beagle (which only indexes home directories, by default) uses an algorithm for placing watches as it crawls, such that by the end of the crawl you can guarantee not to have a lost a race on new directories being created while the crawl was happening: http://mail.gnome.org/archives/dashboard-hackers/2004-October/msg00022.html - Chris. -- Chris Ball <cjb@mrao.cam.ac.uk> <http://www.mrao.cam.ac.uk/~cjb/> ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 23:41 ` Chris Ball @ 2006-03-06 1:04 ` Jon Masters 2006-03-06 9:31 ` Helge Hafting 0 siblings, 1 reply; 24+ messages in thread From: Jon Masters @ 2006-03-06 1:04 UTC (permalink / raw) To: Chris Ball; +Cc: Linux Kernel 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. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 1:04 ` Jon Masters @ 2006-03-06 9:31 ` Helge Hafting 2006-03-06 13:10 ` Jon Masters 2006-03-07 0:11 ` Lee Revell 0 siblings, 2 replies; 24+ messages in thread From: Helge Hafting @ 2006-03-06 9:31 UTC (permalink / raw) To: jonathan; +Cc: Chris Ball, Linux Kernel Jon Masters wrote: >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. > > > Do they? I thought all this mail processing could be done in the mailserver and/or mail reader. Why detect spam by looking for generic file creation when you can trivially tap into mail as it arrives? As for the non-existent virus problem - it is mostly prevented by users not being administrators. And you can go further with a readonly /usr and a noexec /home. Helge Hafting ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 9:31 ` Helge Hafting @ 2006-03-06 13:10 ` Jon Masters 2006-03-07 0:11 ` Lee Revell 1 sibling, 0 replies; 24+ messages in thread From: Jon Masters @ 2006-03-06 13:10 UTC (permalink / raw) To: Helge Hafting; +Cc: Chris Ball, Linux Kernel On 3/6/06, Helge Hafting <helge.hafting@aitel.hist.no> wrote: > Jon Masters wrote: > > >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. > Do they? > I thought all this mail processing could be done in the mailserver > and/or mail reader. Why detect spam by looking for generic file > creation when you can trivially tap into mail as it arrives? Because it's not just email :-) These guys want to be able to filter /every/ file no matter how it is accessed. > As for the non-existent virus problem - it is mostly prevented > by users not being administrators. And you can go further > with a readonly /usr and a noexec /home. That's definately OT - I was simply saying that there are anti-spam/anti-virus products which run on Linux that use hooks to do this at the VFS level. So that you don't need to modify Samba/Mailserver/NFS/everything else. Jon. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 9:31 ` Helge Hafting 2006-03-06 13:10 ` Jon Masters @ 2006-03-07 0:11 ` Lee Revell 2006-03-07 0:33 ` Jon Masters 1 sibling, 1 reply; 24+ messages in thread From: Lee Revell @ 2006-03-07 0:11 UTC (permalink / raw) To: Helge Hafting; +Cc: jonathan, Chris Ball, Linux Kernel On Mon, 2006-03-06 at 10:31 +0100, Helge Hafting wrote: > As for the non-existent virus problem - it is mostly prevented > by users not being administrators. And you can go further > with a readonly /usr and a noexec /home. > I believe he is referring to using Linux systems to provide virus scanning services for mail, NFS, SMB etc. clients, rather than to virus scanning for the Linux desktop (which is indeed a non problem). Lee ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-07 0:11 ` Lee Revell @ 2006-03-07 0:33 ` Jon Masters 2006-03-07 10:26 ` Steven Rostedt 0 siblings, 1 reply; 24+ messages in thread From: Jon Masters @ 2006-03-07 0:33 UTC (permalink / raw) To: Lee Revell; +Cc: Helge Hafting, Chris Ball, Linux Kernel On 3/7/06, Lee Revell <rlrevell@joe-job.com> wrote: > On Mon, 2006-03-06 at 10:31 +0100, Helge Hafting wrote: > > As for the non-existent virus problem - it is mostly prevented > > by users not being administrators. And you can go further > > with a readonly /usr and a noexec /home. > I believe he is referring to using Linux systems to provide virus > scanning services for mail, NFS, SMB etc. clients, rather than to virus > scanning for the Linux desktop (which is indeed a non problem). Sure. I wasn't hand waving an muttering about virus problems on Linux desktops everywhere. Anyway. Seems a couple of us are interested in having something more generic at the VFS level to notify userspace about particular events of interest (recursively registering a watcher on every directory is silly). I really should go scope out some of the existing projects that cover this before I decide what to do. This kind of thing should be in mainline IMHO. Jon. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-07 0:33 ` Jon Masters @ 2006-03-07 10:26 ` Steven Rostedt 2006-03-09 2:44 ` Jon Masters 0 siblings, 1 reply; 24+ messages in thread From: Steven Rostedt @ 2006-03-07 10:26 UTC (permalink / raw) To: jonathan; +Cc: Lee Revell, Helge Hafting, Chris Ball, Linux Kernel On Tue, 7 Mar 2006, Jon Masters wrote: > On 3/7/06, Lee Revell <rlrevell@joe-job.com> wrote: > > On Mon, 2006-03-06 at 10:31 +0100, Helge Hafting wrote: > > > As for the non-existent virus problem - it is mostly prevented > > > by users not being administrators. And you can go further > > > with a readonly /usr and a noexec /home. > > > I believe he is referring to using Linux systems to provide virus > > scanning services for mail, NFS, SMB etc. clients, rather than to virus > > scanning for the Linux desktop (which is indeed a non problem). > > Sure. I wasn't hand waving an muttering about virus problems on Linux > desktops everywhere. > > Anyway. Seems a couple of us are interested in having something more > generic at the VFS level to notify userspace about particular events > of interest (recursively registering a watcher on every directory is > silly). I really should go scope out some of the existing projects > that cover this before I decide what to do. This kind of thing should > be in mainline IMHO. > Hmm, this could also be very useful for change management systems and especially backup utilities. Imagine having a daemon that records all the changes on a filesystem, and then backs them up periodically. Could very well be useful. -- Steve ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-07 10:26 ` Steven Rostedt @ 2006-03-09 2:44 ` Jon Masters 0 siblings, 0 replies; 24+ messages in thread From: Jon Masters @ 2006-03-09 2:44 UTC (permalink / raw) To: Steven Rostedt; +Cc: Lee Revell, Helge Hafting, Chris Ball, Linux Kernel On 3/7/06, Steven Rostedt <rostedt@goodmis.org> wrote: > Hmm, this could also be very useful for change management systems and > especially backup utilities. Imagine having a daemon that records all the > changes on a filesystem, and then backs them up periodically. Could very > well be useful. Some people have already done similar things with FUSE based filesystems but my point is that there's nothing cool and useful in mainline to do what I personally want :-) Anyway, I was catching up with an old friend as part of this thread and we'll spend some time over at LinuxWorld Boston hacking on some ideas. Then I'll see what's worth doing. Jon. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-05 21:36 [OT] inotify hack for locate Jon Masters ` (2 preceding siblings ...) 2006-03-05 23:41 ` Chris Ball @ 2006-03-06 7:49 ` Arjan van de Ven 2006-03-06 13:12 ` Jon Masters 3 siblings, 1 reply; 24+ messages in thread From: Arjan van de Ven @ 2006-03-06 7:49 UTC (permalink / raw) To: jonathan; +Cc: Linux Kernel On Sun, 2006-03-05 at 21:36 +0000, Jon Masters wrote: > Folks, > > 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? there is both rlocate and mlocate to replace whatever variant of locate you are using. But this is obviously offtopic for lkml ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [OT] inotify hack for locate 2006-03-06 7:49 ` Arjan van de Ven @ 2006-03-06 13:12 ` Jon Masters 0 siblings, 0 replies; 24+ messages in thread From: Jon Masters @ 2006-03-06 13:12 UTC (permalink / raw) To: Arjan van de Ven; +Cc: Linux Kernel On 3/6/06, Arjan van de Ven <arjan@infradead.org> wrote: > On Sun, 2006-03-05 at 21:36 +0000, Jon Masters wrote: > > 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? > there is both rlocate and mlocate to replace whatever variant of locate > you are using. Interesting. > But this is obviously offtopic for lkml Not entirely - because I'm asking about VFS functionality. I'm going to look at the rlocate kernel module with a view to doing something generic that communicates over netlink like I want. Thanks. Jon. ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2006-03-09 2:44 UTC | newest] Thread overview: 24+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-03-05 21:36 [OT] inotify hack for locate Jon Masters 2006-03-05 21:42 ` Jesper Juhl 2006-03-05 21:50 ` Jon Masters 2006-03-06 9:23 ` Helge Hafting 2006-03-06 21:59 ` Pavel Machek 2006-03-05 21:53 ` Robin Holt 2006-03-05 22:02 ` Jon Masters 2006-03-05 21:43 ` Lee Revell 2006-03-05 23:08 ` Benjamin LaHaise 2006-03-05 23:30 ` Måns Rullgård 2006-03-06 21:53 ` Pavel Machek 2006-03-06 22:08 ` Måns Rullgård 2006-03-06 22:22 ` Pavel Machek 2006-03-08 13:56 ` Jan Engelhardt 2006-03-05 23:41 ` Chris Ball 2006-03-06 1:04 ` Jon Masters 2006-03-06 9:31 ` Helge Hafting 2006-03-06 13:10 ` Jon Masters 2006-03-07 0:11 ` Lee Revell 2006-03-07 0:33 ` Jon Masters 2006-03-07 10:26 ` Steven Rostedt 2006-03-09 2:44 ` Jon Masters 2006-03-06 7:49 ` Arjan van de Ven 2006-03-06 13:12 ` Jon Masters
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox