[patch] Port to DBUS 0.30

David Zeuthen david at fubar.dk
Thu Feb 10 18:15:21 PST 2005


John (J5) Palmieri wrote:
> Actually / are not allowed in object path names because they are used to
> delimit object paths but that is all semantics ;-)

Heh :-)

> I was thinking a better fix would to fix dbus to allow escape sequences
> like in URI's. (e.g. %20 = ' ').  But if you are reasonably sure that we
> won't have udi clashes when converting illegal characters to '_' I'll do
> that.  It is the easy fix.

Yeah, I think the easy fix is the way to go; I'll fix the places where 
we choose something funny for the UDI's - I guess this is something we 
want refine over time as persistent properties are going to rely, for 
the most, on the uniqueness. Right now, I think we choose model/vendor 
name for drives if the drive serial is not available; it might make 
sense to special case for bus type, e.g. use the USB vendor/product id 
pair combined with the LUN number (for e.g. Nin1 card readers). 
Something to look into.

Anyway, it's good to have a constrained set of allowed characters, e.g. 
no spaces etc. as that might help reduce bugs in shell scripts etc.

Thanks,
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list