Hello everybody,
In libtracker-miner\tracker-storage.c at:
/* fstab partitions may not have corresponding
* GVolumes, so volume may be NULL */
volume = g_mount_get_volume (mount);
on my host volume is assigned and all goes well. But on my board this step
of getting the volume fails (on the board automount is not on and I must
mount the USB storage device myself). If this step fails it then goes on the
else branch of the check.
/* GMount without GVolume.
* Note: Never found a case where this g_mount_get_uuid() returns
* non-NULL... :-) */
g_debug ("[%s][%d][%s]\n", __FILE__, __LINE__, __FUNCTION__);
uuid = g_mount_get_uuid (mount);
The step above also return NULL and tracker is forced to generate an UUID
based on the mount path.
Can you give me some informations why the first part on the code fails?
The content of the fstab file is
# <file system> <mount point> <type> <options> <dump> <pass>
# This default will have to be reset for specific boot environments,
# eg. for booting from a disk, maybe:
# /dev/hda2 / ext3 rw 1 1
# This entry is known to work with NFS.
rootfs / rootfs rw 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
tmpfs /dev/shm tmpfs rw 0 0
# usbfs isn't mounted by default as either USB needs to be statically linked
# into the kernel, or the usbcore kernel module needs to be loaded
# none /proc/bus/usb usbfs defaults 0 0
# tmpfs isn't mounted on /tmp by default for two reasons:
# a) it increases the memory footprint
# b) files there will disappear on reboot
# none /tmp tmpfs size=32M 0 0
Have a nice day!
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list