Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 23:41:56 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268540 - head/usr.sbin/bsdinstall/partedit
Message-ID:  <201407112341.s6BNfutx032773@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407112341.s6BNfutx032773>