[PATCH 2/3] volume_id: 128-bit UUID for hfs[+]
Sven-Göran Bergh
svengbergh-busybox at yahoo.com
Wed Nov 21 15:07:23 UTC 2012
In order to comply with util-linux and the UUID shown in
/dev/disk/by-uuid, the raw HFS[+] 64 bit id needs to be
mangles with md5 to produce a 128-bit UUID.
volume_id: hfs[+] 128-bit UUID
function old new delta
hfs_set_uuid - 147 +147
static.CSWTCH 20 16 -4
volume_id_probe_hfs_hfsplus 749 739 -10
volume_id_set_uuid 321 295 -26
.rodata 148932 148893 -39
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/4 up/down: 147/-79) Total: 68 bytes
Signed-off-by: Sven-Göran Bergh <sgb at systemasis.org>
---
util-linux/volume_id/hfs.c | 25 +++++++++++++++++++++++--
util-linux/volume_id/util.c | 6 ------
util-linux/volume_id/volume_id_internal.h | 1 -
3 files changed, 23 insertions(+), 9 deletions(-)
Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-volume_id-hfs-128bit-uuid.patch
Type: application/octet-stream
Size: 3797 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20121121/9c26bb1c/attachment.obj>
More information about the busybox
mailing list