]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: make non-interactive output more readable
authorKarel Zak <kzak@redhat.com>
Wed, 31 Aug 2016 13:51:11 +0000 (15:51 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 31 Aug 2016 13:51:11 +0000 (15:51 +0200)
commitad8cd66adf344da5b6c0ab40ee2618640f086350
tree2104134fc180a78649abe0286428d7f7d6402d96
parentb54439cbadaf77ff96baf43c83670dbe7395f95b
sfdisk: make non-interactive output more readable

 # echo -e ',1M\n,2M' | sfdisk /dev/sdc

Old version:

  >>> Created a new DOS disklabel with disk identifier 0x8fc7d065.
  Created a new partition 1 of type 'Linux' and of size 1 MiB.
  /dev/sdc2: Created a new partition 2 of type 'Linux' and of size 2 MiB.
  /dev/sdc3:

New version:

  >>> Created a new DOS disklabel with disk identifier 0x9afe17c0.
 /dev/sdc1: Created a new partition 1 of type 'Linux' and of size 1 MiB.
 /dev/sdc2: Created a new partition 2 of type 'Linux' and of size 2 MiB.
 /dev/sdc3: Done.

Addresses: https://github.com/karelzak/util-linux/issues/337
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.c