losetup: Add partition scanning option
authorJack O'Sullivan <jackos1998@gmail.com>
Tue, 28 May 2019 14:28:27 +0000 (15:28 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 30 May 2019 14:22:52 +0000 (16:22 +0200)
commit726cbb1be8620496cdf05d23bd98bdeb0983b4f0
treec85dcdbbe86fe8e3920ec1f0869736c6594fd1ee
parentbcb1fc3e6ca6fe902610f507eaf9b0b58a5c583a
losetup: Add partition scanning option

Add -P option from util-linux losetup to scan for partitions.

function                                             old     new   delta
losetup_main                                         449     482     +33
packed_usage                                       33264   33292     +28
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 61/0)               Total: 61 bytes

Signed-off-by: Jack O'Sullivan <jackos1998@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
util-linux/losetup.c