[parted-devel] [PATCH 5/6] libparted: handle logical partitions starting immediately after the EBR

Phillip Susi psusi at ubuntu.com
Sun Dec 16 19:29:59 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/16/2012 02:01 AM, Jim Meyering wrote:
>> To allow for a partition to start on the first sector following
>> the MBR, which is a perfectly legal configuration.
> 
> The 2-sector minimum is documented to apply to the distance
> between the start of an extended partition and its first logical
> partition. Can you rephrase why you want to make this change in
> that context?  I.e., we're perfectly capable of making the first
> *primary* partition start right after the MBR, but if you're
> talking about a logical partition, you cannot make it "start on the
> first sector following the MBR", even with your change, since
> there's still a one-sector minimum separation.

Sorry, first sector following the *EBR* not MBR.

> Last I heard, the implementation of the BLKPG ioctl code was in the
> kernel ;-)  The point is that if we make this change, then we're
> exposing users to problems whenever they use that ioctl against a
> partition we've created.  E.g., older versions of parted do that.
> Not that we have to be beholden to them, but please do at least
> mention this possibility somewhere.

Mention what exactly?  That prior to this patch parted threw an error
when trying to work with such a partition?  Is that not clear from my
change log?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQziE3AAoJEJrBOlT6nu75bUkH/223IWsAiHv5ikzQ59sf3VZB
fzqRRqD/Ien7dHJrLeLaqQL0PgJ615aISUT/wSeee6RwpPW23zUizvsPVgGSHIvq
YRhYOGeaeMHvDlZjmWGzVit7uNtEGSRdwlXTB9CoblLtGOMs7S2IqckSt7JoZw8b
TG8l+vEmta8RNl66J6hgH/kEL23qvmp9R0s26fSYBi9G/ICUbw1HKeDf51VyRdBO
AmRsONRg6jHIbYDVeQF4xbQVwO75zKAbqQD9T1js0mzIo6ZJSeOfsrzQuGvtesKX
zcmBol6xAvG1Z/on0bTb9nrmInf+7NbKBjaKtE5szGbnXF/FclEP051Vtq3epMw=
=hzDG
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list