Date: Mon, 07 Jan 2002 21:12:21 +0000 From: Ian Dowse <iedowse@maths.tcd.ie> To: John Baldwin <jhb@FreeBSD.org> Cc: Wilko Bulte <wkb@freebie.xs4all.nl>, Sheldon Hearn <sheldonh@starjuice.net>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/sysinstall install.c Message-ID: <200201072112.aa71517@salmon.maths.tcd.ie> In-Reply-To: Your message of "Mon, 07 Jan 2002 11:55:32 PST." <XFMail.020107115532.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.020107115532.jhb@FreeBSD.org>, John Baldwin writes: > >Hmm, perhaps sysinstall is overriding newfs in stable still? We should see if >anyone can reproduce this on -current as well. The boot1 code does seem to >assume 8192 block size from my reading of it, though I'm not 100% sure. In fact, this may be a problem on the i386 too. There seems to be an assumption in sys/boot/i386/boot2/boot2.c that the filesystem block size is no greater than 8k: #define BSIZEMAX 8192 ... blkbuf = malloc(BSIZEMAX); ... fsblks = fs.fs_bsize >> DEV_BSHIFT; ... if (dskread(blkbuf, fsbtodb(&fs, ino_to_fsba(&fs, inode)), fsblks)) The alpha code in sys/boot/alpha/boot1/sys.c appears to have a similar problem. The blksize() macro returns the size in bytes of a specified logical block within a file, which is normally the filesystem block size for large files. Ian 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? <200201072112.aa71517>