]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: always skips zeros in dumps
authorKarel Zak <kzak@redhat.com>
Thu, 8 Apr 2021 10:42:36 +0000 (12:42 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 8 Apr 2021 10:42:36 +0000 (12:42 +0200)
commita970c2dd51aee3b680f91acdb5b5c4d038834f2c
treebe41d632d3b74afb288d454cc2ea9791272b469a
parent22a900a90fd7d1bd0792cc773fdc36b5fcc45f63
fdisk: always skips zeros in dumps

The expert command 'D'ump skips zeros when print label hexdump on
terminal, but for non-terminal it prints all buffer. It seems
better to use the same semantic everywhere and skip zeros.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.c