* Bug with sfdisk - input of -d output fails
@ 2013-01-28 13:56 Ulf Zibis
0 siblings, 0 replies; only message in thread
From: Ulf Zibis @ 2013-01-28 13:56 UTC (permalink / raw)
To: util-linux
Hi all,
sfdisk /dev/sda > sda.out
produces following output:
>-------------------------------------->
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 63, size= 48821472, Id= 7, bootable
/dev/sda2 : start=239191785, size= 73384920, Id= 7
/dev/sda3 : start= 48821535, size= 37784880, Id=83
/dev/sda4 : start= 86606415, size=152585370, Id= 5
/dev/sda5 : start=156232188, size= 10490382, Id= 7
/dev/sda6 : start=166722633, size= 72469152, Id= 7
/dev/sda7 : start= 86606541, size= 69625584, Id= 7
<--------------------------------------<
Just for test I immediately tried to use this data for input, but it failed ...
>-------------------------------------->
root@PartedMagic:~# sfdisk /dev/sda < sda.out
Checking that no-one is using this disk right now ...
OK
Disk /dev/sda: 19457 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 3038 3039- 24410736 7 HPFS/NTFS/exFAT
/dev/sda2 14889 19456 4568 36692460 7 HPFS/NTFS/exFAT
/dev/sda3 3039 5390 2352 18892440 83 Linux
/dev/sda4 5391 14888 9498 76292685 5 Extended
/dev/sda5 9725+ 10377 653- 5245191 7 HPFS/NTFS/exFAT
/dev/sda6 10378+ 14888 4511- 36234576 7 HPFS/NTFS/exFAT
/dev/sda7 5391+ 9724 4334- 34812792 7 HPFS/NTFS/exFAT
Warning: bad partition start (earliest 166722571)
sfdisk: bad input
root@PartedMagic:~#
<--------------------------------------<
Thanks for your attention,
-Ulf
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-28 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 13:56 Bug with sfdisk - input of -d output fails Ulf Zibis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.