]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: fix previous --append patch, improve man page
authorKarel Zak <kzak@redhat.com>
Mon, 2 Mar 2020 13:41:39 +0000 (14:41 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Mar 2020 13:41:39 +0000 (14:41 +0100)
commitac762ed71f982468f4c83291158e97cf86281beb
treea9802350e9cf0b4b3c352b1cd8416354e753e702
parentfa3fface0f83dbf186f046210700473da7a4800b
sfdisk: fix previous --append patch, improve man page

- fix stupid typo (!has_container_or_unused(sf))
- use fdisk_is_partition_used() as fdisk_get_partition() returns
  nothing for unused partition
- update tests
- add more hints to the man page

Addresses: https://github.com/calamares/calamares/issues/1332
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.8
disk-utils/sfdisk.c
tests/expected/sfdisk/dos-dump-gaps
tests/expected/sfdisk/dos-dump-old