diff options
author | Karel Zak | 2016-11-30 12:43:10 +0100 |
---|---|---|
committer | Karel Zak | 2016-11-30 13:01:33 +0100 |
commit | 35ca51182782193f555fbdcb06bb10766550d017 (patch) | |
tree | e790c87db174462db010ed6c8ea32e7a7506df0f /term-utils/setterm.c | |
parent | sfdisk: cleanup --dump error messages (diff) | |
download | kernel-qcow2-util-linux-35ca51182782193f555fbdcb06bb10766550d017.tar.gz kernel-qcow2-util-linux-35ca51182782193f555fbdcb06bb10766550d017.tar.xz kernel-qcow2-util-linux-35ca51182782193f555fbdcb06bb10766550d017.zip |
sfdisk: support empty label use-case
By default sfdisk creates partition table when a first partition is
specified, otherwise the device is not modified. This force users to
create at least one partition.
This commit allows to create empty label without partitions if "label:
<name>" header line is specified by script.
The commit also modifies "New situation:" output to list label name
and label identifier.
Addresses: https://github.com/karelzak/util-linux/issues/374
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/setterm.c')
0 files changed, 0 insertions, 0 deletions