> > Here is the situation: > I plug in a USB storage device a dn mount it into a directory. > Tracker starts indexing and returs the number of media files on that > USB storage device. Then I unmount the USB storage device and unplug > it. I then plug in the USB storage device once again and this time > mount it in another directory. Tracker starts indexing and returns > double the number of media files. Although the USB stick contains the > same files and it was mounted in another directory tracker re > indexes the files again. Is this the normal behavior or is it wrong? > >
>From mount_add() in src/libtracker-miner/tracker-storage.c: * If the mount point doesn't have a volume (g_mount_get_volume() returns NULL) AND there is no UUID for the mount (g_mount_get_uuid() returns NULL), then the ID of the storage is computed as the MD5 of the Mount Path, if any. So, yes, it may happen, as in that case we can't really know if the USB storage is the same or a different one. If we got a proper UUID from the mount/volume, the storage would be detected as being known and wouldn't be reindexed. If we don't get a proper UUID from the mount/volume, the storage will be detected as being unknown and it would be reindexed. Anyway, could you set "Verbosity=3" in $HOME/.config/tracker/tracker-miner-fs.cfg; restart an initial index with "tracker-control -rs" and email the miner-fs log file from $HOME/.local/share/tracker/tracker-miner-fs.log ? Just to make sure we're doing the proper things here... Thanks! -- Aleksander _______________________________________________ tracker-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/tracker-list
