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



Yes, of course. A cache and checking mtab file modification , this is what I was thinking.

-rick

jamie wrote:
On Sat, 2007-11-24 at 14:49 +0000, jamie wrote:
On Thu, 2007-11-22 at 17:27 +0800, Rick Ju wrote:
Hi, Jamie,

For checking remote mounted directory, I wrote a simple prototype function. It uses getmntent in mntent.h to parse /etc/mtab.

If it looks OK, I will wrap it up as patch to use the SkipMountPoint option.

The prototype could compile in ubuntu.


yes should be ok

pls provide patch

Im a bit worried about performance of this thing but as it will be off
by default and only done if they set index remote stuff it should not be
a problem

actually if you store all the remote root dirs globally we could avoid
any parsing penalties

suggest add a function tracker_get_remote_dirs to tracker-utils.c and
then store them in a GSlist in the Tracker struct


jamie


_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list




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