Date: Thu, 11 May 1995 09:18:38 -0700 (PDT) From: Poul-Henning Kamp <phk@ref.tfs.com> To: bde@zeta.org.au (Bruce Evans) Cc: current@FreeBSD.org, mark@linus.demon.co.uk Subject: Re: problem with new biosboot? Message-ID: <199505111618.JAA29332@ref.tfs.com> In-Reply-To: <199505110607.QAA07289@godzilla.zeta.org.au> from "Bruce Evans" at May 11, 95 04:07:55 pm
next in thread | previous 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. DUH! -- Poul-Henning Kamp <phk@login.dknet.dk> -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505111618.JAA29332>