util-linux/misc-utils
Karel Zak d9921b2a12 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>
2017-06-29 11:59:38 +02:00
..
.gitignore chkdupexe: remove, deprecated for years 2013-03-14 13:34:11 +01:00
Makemodule.am wipefs: use libsmartcols 2017-06-29 11:59:38 +02:00
blkid.8 blkid: add long options 2017-05-02 23:22:04 +01:00
blkid.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
cal.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
cal.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
fincore.1 fincore: add column RES 2017-03-27 13:08:40 +02:00
fincore.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
findfs.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
findfs.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
findmnt-verify.c misc: fix reassigned values before old ones has been used [cppcheck] 2017-06-14 12:19:20 +02:00
findmnt.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
findmnt.c misc: consolidate all --help option descriptions 2017-06-27 12:28:36 +02:00
findmnt.h findmnt: add --verify and --verbose 2016-09-23 13:21:02 +02:00
getopt-parse.bash getops: make --a-long option work again 2017-05-16 14:54:41 +02:00
getopt-parse.tcsh getops: improve getopt-parse.bash example 2016-07-27 16:08:43 +01:00
getopt.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
getopt.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
kill.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
kill.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
logger.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
logger.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
look.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
look.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
lsblk.8 lsblk: add option --tree 2017-06-09 11:33:18 +02:00
lsblk.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
lslocks.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lslocks.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
mcookie.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
mcookie.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
namei.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
namei.c misc: consolidate all --help option descriptions 2017-06-27 12:28:36 +02:00
rename.1 rename: add -o to the man page 2017-06-06 12:09:34 +02:00
rename.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
test_uuidd.c misc: no more errtryh() 2017-06-25 02:22:53 +02:00
uuidd.8.in docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
uuidd.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
uuidd.rc.in uuidd: Fixed a typo in daemon logging message 2014-11-18 14:14:47 +01:00
uuidd.service.in uuidd: remove timeout from systemd service file 2014-04-29 10:37:26 +02:00
uuidd.socket.in build-sys: add missing files 2012-07-11 18:00:09 +02:00
uuidgen.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
uuidgen.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
uuidparse.1 uuidparse: add new command 2017-06-26 14:46:35 +02:00
uuidparse.c uuidparse: se JSON table name on -J 2017-06-29 11:07:54 +02:00
whereis.1 whereis: add --help and --version 2017-06-22 21:34:58 +02:00
whereis.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
wipefs.8 wipefs: use libsmartcols 2017-06-29 11:59:38 +02:00
wipefs.c wipefs: use libsmartcols 2017-06-29 11:59:38 +02:00