For what it's worth, here is the udev code that does the conversion and formatting.
http://bazaar.launchpad.net/~vcs-imports/udev/trunk/view/head:/src/udev-builtin-path_id.c#L67
For what it's worth, here is the udev code that does the conversion and formatting.
http:// bazaar. launchpad. net/~vcs- imports/ udev/trunk/ view/head: /src/udev- builtin- path_id. c#L67