From 53638b8b18135ac726fc800dabf49b4b9d7f1e48 Mon Sep 17 00:00:00 2001 From: obrien Date: Tue, 25 Feb 2003 00:10:20 +0000 Subject: Only apply rev 1.10 (which hacks around the i386 boot2 being too big for both ufs1 and ufs2 support) on i386. --- sys/boot/common/ufsread.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/boot/common') diff --git a/sys/boot/common/ufsread.c b/sys/boot/common/ufsread.c index 8d674ae..7f46615 100644 --- a/sys/boot/common/ufsread.c +++ b/sys/boot/common/ufsread.c @@ -28,8 +28,13 @@ #include #include +#ifdef __i386__ +/* XXX: Revert to old (broken for over 1.5Tb filesystems) version of cgbase + (see sys/ufs/ffs/fs.h rev 1.39) so that i386 boot loader (boot2) can + support both UFS1 and UFS2 again. */ #undef cgbase #define cgbase(fs, c) ((ufs2_daddr_t)((fs)->fs_fpg * (c))) +#endif /* * We use 4k `virtual' blocks for filesystem data, whatever the actual -- cgit v1.1