GNOME Bugzilla – Bug 503725
check/uncheck "Index mounted directories" needs trackerd reindex
Last modified: 2008-07-29 08:04:02 UTC
Please describe the problem: check/uncheck "Index mounted directories" needs trackerd reindex Now this function doesn't work unless user run "trackerd -R" manually. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 102525 [details] [review] Adds HAL support for watching new mount points
Created attachment 102581 [details] [review] Better patch The last patch had traces of other work I am doing and should be ignored.
Just realised, I created a new bug for this bug report. I had to refactor the patch anyway, so this is deprecated really as a duplicate of bug #521614. *** This bug has been marked as a duplicate of 521614 ***
Created attachment 108989 [details] [review] Updated patch This patch actually goes a little further than just improving HAL support, it actually fixes up the tracker-process-files.[ch] to work better with the two new options to index or not index mounted directories and removable devices. This patch removes or moves a lot of code from src/trackerd/tracker-utils.[ch] too. I have been testing this patch for the last 1/2 week. It seems to work nicely.
*** Bug 521614 has been marked as a duplicate of this bug. ***
Created attachment 109000 [details] [review] Updated patch Sorry, this patch is the same as the last but with the tracker-hal.[ch] files included that I forgot to add.
can you make sure it wont index cdrom and/or dvd (that would be so slow!) once done pls commit thanks jamie
Committed, thanks.
Verified on Verm95(Gnome 2.23.4 + Tracker 0.6.6) If change the "Index mounted directories" key, tracker-preferences will pop up a window to inform user that trackerd will re-index.