Re: [Tracker] Tracker - mount notification



Hi,

I guess we are missing half of the messages in the discussion.

Tracker uses HAL or DeviceKit (depending on the platform) to detect the volumes. Tracker doesn't abstract the filesystem or the mounting logic. Yes, Tracker uses the API but doesn't "wrap" it for other applications.

If you want to use similar code in your application, you can always take a look into the tracker source code (and respect the license, of course). IIRC it should be somewhere in libtracker-miner...

 Regards,

Ivan

On Wed, Oct 13, 2010 at 11:15 AM, Alexandru Tataru <alexandruflavian gmail com> wrote:
Or if I may correct myself, what does tracker listen for when he is notified that a new device has been mounted? What API, what method?


On Wed, Oct 13, 2010 at 10:53 AM, Alexandru Tataru <alexandruflavian gmail com> wrote:
Thanks,

But...

Does not tracker listen to HAL for when a device has been mounted or unmounted? I though that if when you mount a USB storage device, tracker starts indexing it can also emit a signal that other applications can listen. 

Cheers Adrien!



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