Date: Wed, 09 Jan 2002 16:04:09 +0000 From: Ian Dowse <iedowse@maths.tcd.ie> To: freebsd-alpha@freebsd.org Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c Message-ID: <200201091604.aa76776@salmon.maths.tcd.ie> In-Reply-To: Your message of "Wed, 09 Jan 2002 07:46:17 PST." <200201091546.g09FkHP38373@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200201091546.g09FkHP38373@freefall.freebsd.org>, Ian Dowse writes: >iedowse 2002/01/09 07:46:17 PST > > Modified files: > sys/boot/i386/boot2 boot2.c > Log: > Increase BSIZEMAX from 8k to 16k, so that we can reliably boot from > filesystems with 16k blocks. A similar change is required on the alpha. Could someone check that the following patch fixes the problem with 16k/2k filesystems on the alpha? Boot1 would fail to load correctly any files larger than 192k, so the bug generally only affected -current where /boot/loader is greater than that size, or the case where you load a kernel directly from boot1. Ian Index: sys.c =================================================================== RCS file: /dump/FreeBSD-CVS/src/sys/boot/alpha/boot1/sys.c,v retrieving revision 1.4 diff -u -r1.4 sys.c --- sys.c 1 Sep 1999 09:11:07 -0000 1.4 +++ sys.c 9 Jan 2002 15:45:13 -0000 @@ -51,7 +51,7 @@ static char buf[BUFSIZE], fsbuf[SBSIZE], iobuf[MAXBSIZE]; #endif -#define BUFSIZE 8192 +#define BUFSIZE 16384 #define MAPBUFSIZE BUFSIZE static char buf[BUFSIZE], fsbuf[BUFSIZE], iobuf[BUFSIZE]; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200201091604.aa76776>