From owner-freebsd-current Thu May 11 04:40:21 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA29670 for current-outgoing; Thu, 11 May 1995 04:40:21 -0700 Received: from linus.demon.co.uk (linus.demon.co.uk [158.152.10.220]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA29664 for ; Thu, 11 May 1995 04:40:10 -0700 Received: (from mark@localhost) by linus.demon.co.uk (8.6.11/8.6.9) id MAA00400; Thu, 11 May 1995 12:39:03 +0100 Date: Thu, 11 May 1995 12:39:03 +0100 From: Mark Valentine Message-Id: <199505111139.MAA00400@linus.demon.co.uk> In-Reply-To: Bruce Evans's message of May 11, 4:07pm X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Bruce Evans , current@FreeBSD.org Subject: Re: problem with new biosboot? Sender: current-owner@FreeBSD.org Precedence: bulk > From: Bruce Evans > Date: Thu 11 May, 1995 > Subject: Re: problem with new biosboot? > > /* This is a good idea for all disks */ > > bsize = dl->d_partitions[part].p_size; > > bend = boff + bsize - 1 ; > > if (bend / spt > 1024) { > ^^^ > > printf("partition is out of reach from the bios\n"); > > return 1; > > } > > spc should work better :-). It's amazing that spt often works. It works > here because bend = 32767 and spt = 32 on one system and 52 on another. Indeed, it certainly works better for me. :-) Thank you! Mark.