Re: [Tracker] how to handle this case (nfs share home directory among two PC)
- From: jamie <jamiemcc blueyonder co uk>
- To: Marcus Fritzsch <fritschy googlemail com>
- 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, 03 Dec 2007 12:10:58 +0000
On Mon, 2007-12-03 at 12:59 +0100, Marcus Fritzsch wrote:
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. ;)
not for long :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]