Re: [Tracker] Prevent removed files from being removed from the db
- From: Nikolaus Rath <Nikolaus rath org>
- To: tracker-list gnome org
- Subject: Re: [Tracker] Prevent removed files from being removed from the db
- Date: Mon, 17 May 2010 22:23:49 -0400
Martyn Russell <martyn-bhGbAngMcJvQT0dZR+AlfA public gmane org> writes:
I really don't mean to offend you, but it seems that I missed or
misunderstood that information. I gather that you use GIO and fall back
on HAL/devicekit, but I'm still not sure what devices will qualify as
removable.
To see how this is implemented see:
http://git.gnome.org/browse/tracker/tree/src/libtracker-miner/tracker-storage.c
Generally these rules have to be passed:
g_volume_should_automount (volume) &&
g_volume_can_mount (volume)
mount_point != NULL
See the volume_add() function for more details.
Thanks!
It seems to me though that this code is only used when tracker is
explicitly indexing a removable volume, but not if it encounters a mount
point inside one of the configured index paths. The traverse functions
don't seem to check if they hit a mount point. Or is the missing logic
part of GIO?
Best,
-Nikolaus
--
ÂTime flies like an arrow, fruit flies like a Banana.Â
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]