[PATCH 0/3] volume_id: rubbing HFS[+]

Sven-Göran Bergh svengbergh-busybox at yahoo.com
Wed Nov 21 15:05:23 UTC 2012


Hi List,

I have done some changes to volume_id, more precisely hfs
and hfs+. The changes are divided into a set of three small
patches.

 1: add type display for hfsplus
 2: 128-bit UUID for hfs[+]
 3: uuid_format small code shrink

The first two patches are independent, while the third
depends on the patch 2.

Bloatcheck for the entire set:

  function                                             old     new   delta
  hfs_set_uuid                                           -     147    +147
  volume_id_probe_luks                                  90      93      +3
  volume_id_probe_hfs_hfsplus                          740     739      -1
  volume_id_probe_vfat                                 888     885      -3
  volume_id_probe_exfat                                254     251      -3
  static.CSWTCH                                         20       8     -12
  volume_id_set_uuid                                   321     296     -25
  .rodata                                           148924  148877     -47
  ------------------------------------------------------------------------------
  (add/remove: 1/0 grow/shrink: 1/6 up/down: 150/-91)            Total: 59 bytes

  Signed-off-by: Sven-Göran Bergh <sgb at systemasis.org>
---
 util-linux/volume_id/hfs.c                |   27 ++++++++++++++++++++++++---
 util-linux/volume_id/util.c               |   23 +----------------------
 util-linux/volume_id/volume_id_internal.h |   11 +++++------
 3 files changed, 30 insertions(+), 31 deletions(-)

Brgds
/S-G



More information about the busybox mailing list