ubirmvol: Implement -N switch for ubirmvol
authorSven Eisenberg <sven.eisenberg@novero.com>
Sun, 3 Apr 2016 19:53:12 +0000 (21:53 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 3 Apr 2016 20:01:43 +0000 (22:01 +0200)
commitb068cf2a7e036da8d0b3533b41886c5605c8139d
tree0c29bccfabd054c5cafc5dd68e9d161d70bf1286
parentcb9264099822505dc2930cfea0b1f9027a02dc06
ubirmvol: Implement -N switch for ubirmvol

function                                             old     new   delta
get_volid_by_name                                      -     125    +125
ubi_devnum_from_devname                                -      43     +43
ubi_tools_main                                      1215    1220      +5
packed_usage                                       30674   30655     -19
ubirename_main                                       394     221    -173
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 1/2 up/down: 173/-192)          Total: -19 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/ubi.c [new file with mode: 0644]
miscutils/ubi_tools.c
miscutils/ubirename.c