altmbr: cap at 439 bytes so the partition select byte follows
authorH. Peter Anvin <hpa@zytor.com>
Tue, 26 May 2009 02:13:04 +0000 (19:13 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 26 May 2009 02:16:24 +0000 (19:16 -0700)
commit07eb1663bd31bcaf7a194db9bfb6bfe14b47eaa0
tree5492fab5644175195f5ac20796ddd18544d202bd
parentbb519a95c0da9871fd99b068d00e96fd78cc8cc1
altmbr: cap at 439 bytes so the partition select byte follows

Cap altmbr at 439 bytes, so that the partition select byte is not part
of the file.  This means that:

a) updating the altmbr doesn't clobber the configuration;
b) it is easier to simply concatenate the select byte to the file.

This also matches gptmbr behavior.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
NEWS
mbr/checksize.pl