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.

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to