Re: [Tracker] Prevent removed files from being removed from the db

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

To see how this is implemented see:

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.


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?



 Â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]