[parted-devel] [PATCH] Always allow at least two sectors for extended boot record

Phillip Susi psusi at cfl.rr.com
Mon Mar 29 17:46:00 UTC 2010


On 3/29/2010 1:37 PM, Jim Meyering wrote:
> I tried to do what I think you and Colin have suggested,
> but parted succeeds (and prints identical output) both with
> and without the patch.
> 
> Note how the logical partition starts one sector
> after the beginning of the extended one.
> 
> Did I misunderstand?
> 
> #!/bin/sh
> PATH=../parted:$PATH
> sector_size_=512
> ss=$sector_size_
> dev=dev-file
> rm -f $dev
> n_sectors=10000

You are using a file not a real disk device, so the kernel does not get
informed of the partition table.



More information about the parted-devel mailing list