Re: [Tracker] how to handle this case (nfs share home directory among two PC)
- From: jamie <jamiemcc blueyonder co uk>
- To: Rick Ju <Rick Ju Sun COM>
- Cc: Jerry Tan <Jerry Tan Sun COM>, Halton Huo Sun COM, Tracker-List <tracker-list gnome org>
- Subject: Re: [Tracker] how to handle this case (nfs share home directory among two PC)
- Date: Mon, 03 Dec 2007 11:28:43 +0000
On Mon, 2007-12-03 at 17:07 +0800, Rick Ju wrote:
Hi, Jamie,
Please review the patch. It is not fully tested yet and not compatible
with Solaris since more work may be needed.
what else is needed?
a. Is get_files()(tracker-utils.c) appropriate place to check remote
dir? If user explicitly add a remote mounted directoy in watch/crawl
list, and the SkipRemoteMount == True, the directory should still be
indexed.
we already have existing code which is broken there
All you need to do is update functions tracker_file_is_in_root_dir,
tracker_add_root_directories and tracker_add_root_dir in tracker-utils.c
(a root directory is a mount point)
b. Is another SkipRemoteMounts needed? or just use current
SkipMountPoints? I am not sure what exactly SkipMountPoints means.
no they are the same - so only one is needed
jamie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]