[parted-devel] nested extended dos partitions
Karel Zak
kzak at redhat.com
Mon Mar 9 08:35:24 UTC 2009
On Fri, Mar 06, 2009 at 12:56:50PM +0000, Bryn M. Reeves wrote:
> Karel Zak wrote:
>> Hi,
>>
>> I'm looking for a way how to test fdisk and [k]partx code that read
>> nested extended partitions (ext.partition in ext.partition). It
>> seems that parted and fdisk are not able to create such odd PT
>> layout. Any idea?
>>
>> I'd like to confirm that the offset of all nested extended
>> partitions is always the same as offset for the first extended
>> partition. (See read_table() in libparted/labels/dos.c.)
>>
>> Karel
>>
>
> Is this valid at all? I'm not able to find examples of this nor tools
I don't know, but I agree that this "feature" is very very strange.
> that will create or interpret such a PT (e.g. the kernel msdos code
Libparted and fdisk are able to read (but not create) such a PT.
> doesn't handle this and contains a comment that so far there seems to
> be no reason to allow this).
Maybe we should remove all support for nested extended partitions
from our tools.
Karel
--
Karel Zak <kzak at redhat.com>
More information about the parted-devel
mailing list