svn commit: r268540 - head/usr.sbin/bsdinstall/partedit
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Fri Jul 11 23:41:57 UTC 2014
Author: nwhitehorn
Date: Fri Jul 11 23:41:56 2014
New Revision: 268540
URL: http://svnweb.freebsd.org/changeset/base/268540
Log:
Allow up to 512K for boot code on GPT with BIOS. As pmbr.s says in a comment,
"545K should be enough for any boot code". This rounds down slightly.
Reported by: Matthew Fuller
MFC after: 2 weeks
Modified:
head/usr.sbin/bsdinstall/partedit/partedit_x86.c
Modified: head/usr.sbin/bsdinstall/partedit/partedit_x86.c
==============================================================================
--- head/usr.sbin/bsdinstall/partedit/partedit_x86.c Fri Jul 11 22:38:05 2014 (r268539)
+++ head/usr.sbin/bsdinstall/partedit/partedit_x86.c Fri Jul 11 23:41:56 2014 (r268540)
@@ -69,7 +69,7 @@ bootpart_size(const char *scheme) {
return (0);
if (strcmp(platform, "BIOS") == 0)
- return (64*1024);
+ return (512*1024);
else
return (800*1024);
More information about the svn-src-head
mailing list