wipefs: use libsmartcols
The old output is horrible and useless when more devices specified.
The old format is also too tricky if more signatures detected. The new
output uses one line for each signature, prefixed by device name.
For example my workstation:
# wipefs /dev/sda* /dev/sdb*
DEVICE OFFSET TYPE UUID LABEL
sda 0x1fe PMBR
sda 0x37e4895e00 gpt
sda 0x200 gpt
sda1 0x1fe vfat F2BC-BFEC EFI
sda1 0x0 vfat F2BC-BFEC EFI
sda1 0x36 vfat F2BC-BFEC EFI
sda2 0x438 ext4
c5490147-2a6c-4c8a-aa1b-
33492034f927 BOOT
sda3 0x438 ext4
196972ad-3b13-4bba-ac54-
4cb3f7b409a4 HOME
sda4 0x438 ext4
d834bc84-0089-4be1-9013-
cd8bf35d5ffa ROOT
sda5 0x438 ext4
e8ce5375-29d4-4e2f-a688-
d3bae4b8d162 WINE
sda6 0xff6 swap
210337c6-f8b5-4d65-aab5-
a0f343fa9ad4 SWAP
sdb 0x200 gpt
sdb 0x1fe dos
sdb1 0x438 ext4
6467a684-0d10-4f61-a301-
67bb26934d90
This patch add --noheadings, --json and --output.
Signed-off-by: Karel Zak <kzak@redhat.com>