Date: Thu, 11 May 1995 16:07:55 +1000 From: Bruce Evans <bde@zeta.org.au> To: current@FreeBSD.org, mark@linus.demon.co.uk Subject: Re: problem with new biosboot? Message-ID: <199505110607.QAA07289@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> /* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505110607.QAA07289>