Re: [Tracker] how to handle this case (nfs share home directory among two PC)



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]