For the record, this happens in ./hald/linux/coldplug.c:
udevdb to UdevInfo struct:
hal_util_init_sysfs_to_udev_map():
char *udevdb_export_argv[] = { "/sbin/udevadm", "info", "-e", NULL };
[...]
else if (strncmp(line, "E: ID_FS_LABEL=", 15) == 0) {
info->fslabel = &line[15];
and further on, conversion to HotplugEvent*:
static HotplugEvent* udev_info_to_hotplug_event(const UdevInfo
*info):
if ((str = hal_util_strdup_valid_utf8(info->fslabel)) != NULL) {
g_strlcpy (hotplug_event->sysfs.fslabel, str,
sizeof(hotplug_event->sysfs.fslabel));
g_free (str);
}
--
REGRESSION: volume labels have underscores instead of spaces
https://bugs.launchpad.net/bugs/347370
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs