[parted-devel] MBR for parted

H. Peter Anvin hpa at zytor.com
Wed Jul 11 21:16:48 UTC 2007


Jim Meyering wrote:
> "H. Peter Anvin" <hpa at zytor.com> wrote:
>> I have been maintaining an MBR in the syslinux project which is a bit
>> more advanced than the one shipped with parted.  In particular, it
>> supports EBIOS/EDD (necessary if there are partitions above the 1024
>> cylinder mark) and active logical partitions.
>>
>> It also uses gas as opposed to as86 or nasm, so it should be easier to
>> build.
> 
> Good!
> 
>> You can view the source code at:
>>
>> http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=tree;f=mbr;hb=HEAD
>>
>> I'd be happy to submit this to (lib)parted, but I'd like to check with
>> you first if that is desirable and if so how you'd prefer to receive it.
> 
> Sounds like an obvious improvement.
> As for form, it's nice if I can apply it with git-am.
> It'd be nice to have a rule (finally) to generate the bytes
> automatically.
> 
>>  I presume a copyright assignment will be necessary.
> 
> Yes.  I'll send it separately.
> 

Note: the MBR can't be under GPL (exclusively), since it rather
inherently is distributed in binary form.  I have marked my code as
under the MIT license; you may need to figure out how to best handle
that aspect.

	-hpa



More information about the parted-devel mailing list