From owner-freebsd-current Wed May 10 23:09:35 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA18157 for current-outgoing; Wed, 10 May 1995 23:09:35 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA18148 for ; Wed, 10 May 1995 23:09:28 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA07289; Thu, 11 May 1995 16:07:55 +1000 Date: Thu, 11 May 1995 16:07:55 +1000 From: Bruce Evans Message-Id: <199505110607.QAA07289@godzilla.zeta.org.au> To: current@FreeBSD.org, mark@linus.demon.co.uk Subject: Re: problem with new biosboot? Sender: current-owner@FreeBSD.org Precedence: bulk > /* 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. Bruce