]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: support for type="partition type name"
authorKarel Zak <kzak@redhat.com>
Tue, 23 Feb 2021 08:21:40 +0000 (09:21 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 23 Feb 2021 08:25:36 +0000 (09:25 +0100)
commit45c2daa61228d198800e2e63ba9be20d90e2a8f9
treeeefdb00d8cc4493171c7f082e69e6566d2ea2a32
parent5353ba3f0d4cd40e6ede294258ae1a7716fd42a1
sfdisk: support for type="partition type name"

For example:

 # echo 'size=10MiB, type="linux usr x86"' | sfdisk /dev/sdc
 ...
 New situation:

 Device     Start   End Sectors Size Type
 /dev/sdc1   2048 22527   20480  10M Linux /usr (x86)

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