Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 1995 12:39:03 +0100
From:      Mark Valentine <mark@linus.demon.co.uk>
To:        Bruce Evans <bde@zeta.org.au>, current@FreeBSD.org
Subject:   Re: problem with new biosboot?
Message-ID:  <199505111139.MAA00400@linus.demon.co.uk>
In-Reply-To: Bruce Evans's message of May 11,  4:07pm

next in thread | raw e-mail | index | archive | help
> From: Bruce Evans <bde@zeta.org.au>
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505111139.MAA00400>