[Tracker] usb detection alternatives



Hello Team,

I have a basic questions on the USB Volume identification of tracker.

My basic understanding about the detection is as follows.

1. It depends on the gvfs -> udisks package for the Volume identification.
2. If gvfs is not present in the system then it simply monitors the /etc/mtab file.

Please correct me if I am wrong in the above points.

Now, In my system I have my own notification mechanism ( No UDEV,UDISKS and GVFS) and I dont want to depend on the /etc/mtab as it is linked to the /proc/mounts.

Is there any other way that I can notify the tracker for media insertions and removals? My end goal is that tracker should consider the USB as removable media.

I was modifying the miner configuration file (IndexRecursiveDirectories field) for every insertion and removals. In this case, it is not considering the USB as a removable media.

Please throw some light on the same. Are there any API's available to just stich the underlying notification mechanism to the existing tracker. BTW I am using tracker 0.10.37 version.


Thanks,
John




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