[parted-devel] [PATCH] Always allow at least two sectors for extended boot record
Jim Meyering
jim at meyering.net
Mon Mar 29 17:51:19 UTC 2010
Phillip Susi wrote:
> 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.
Yes, that would do it. Thanks.
Another test that will require the pesky scsi_debug module.
More information about the parted-devel
mailing list