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: [email protected]
Lihovarská 1060/12                          tel: +420 284 028 964
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz

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

Reply via email to