Re: [Tracker] how to handle this case (nfs share home directory among two PC)
- From: "Marcus Fritzsch" <fritschy googlemail com>
- To: jamie <jamiemcc blueyonder co uk>
- Cc: Jerry Tan <Jerry Tan sun com>, Rick Ju <Rick Ju 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, 3 Dec 2007 12:59:30 +0100
Hi,
On Dec 3, 2007 12:28 PM, jamie <jamiemcc blueyonder co uk> wrote:
[...]
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)
Not exactly, a root dir is the st_dev of struct stat of our
watch/crawl/index dirs. ;)
Cheers, Marcus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]