[Tracker] [PATCH] Make tracker skip mountpoints



This patch prevents tracker from descending into mountpoints which is
a directory other than a watch- or crawl-root. I often have some fs
(sshfs, nfs) mounted under my $HOME and found tracker going down all
these trees. Also, there was a bug report on launchpad about this[1].

I am however not sure if this method works, also I haven't found much
references when searching for it by google or clusty. If there are
objections to this method of mount-point 'discovery' it would be
possible to read mtab and store it in struct Tracker for processing.

However as tracker is not that simple I am not aware of any side
effects this patch may have on tracker, I tested it - with mount
points in watched dirs and crawled ones, with fuse and nfs mounts.

Any comments?

Cheers, Marcus

[1] https://bugs.launchpad.net/tracker/+bug/83997

Attachment: tracker_r743_skip_mountpoints.patch
Description: Text Data



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