[parted-devel] [PATCH] Do not discard bootcode from extended partition

Petr Uzel petr.uzel at suse.cz
Fri Jan 23 12:58:27 UTC 2009


On Fri, Jan 23, 2009 at 12:41:39PM +0000, James Courtier-Dutton wrote:
> I thought that valid boot sectors have a checksum or some kind of
> signature bytes. 

Do you mean the 0xAA55 MBR signature?

> It might be worth verifying that it is a valid boot
> sector before blindly using it. If it is not a valid boot sector, one
> might as well fill it with zeros.

Definitely - it should be simpler than checking whether we're creating
new extended partition or modifying existing one.



-- 
Best regards / s pozdravem

Petr Uzel, Packages maintainer
---------------------------------------------------------------------
SUSE LINUX, s.r.o.                          e-mail: puzel at suse.cz
Lihovarská 1060/12                          tel: +420 284 028 964
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz



More information about the parted-devel mailing list