Date: Wed, 14 Oct 1998 11:04:41 +0200 (CEST) From: Søren Schmidt <sos@FreeBSD.ORG> To: bde@zeta.org.au (Bruce Evans) Cc: Marius.Bendiksen@scancall.no, sos@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: bitten 3 times already. Message-ID: <199810140904.LAA29428@sos.freebsd.dk> In-Reply-To: <199810140845.SAA12607@godzilla.zeta.org.au> from Bruce Evans at "Oct 14, 98 06:45:04 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Bruce Evans who wrote:
> >> What I fail to recall, is whether harddrives that are already LBA formatted
> >> will lose their data if accessed in CHS mode? Otoh, I suppose we've got
> >> code to make sure we follow the 'right' layout anyhow..
> >
> >There is no difference in formatting, its only a question on what
> >you call the track/head/sector registers, which you should know if
> >you have written an IDE driver ;)
> >The only thing thats important is to know the geometry used when the
> >data was written onto disk, then use that to calculate a sequential
> >sector number, then recalc that back to the current geometry.
>
> The geometry or geometries used by previously active driver(s) are almost
> irrelevant, as you should know if you have written an IDE driver :-).
> The only thing that's important (for the driver) to know is that the
> drive actually uses the geometry that the driver programs it to use.
Erhm, and where is the difference ? :)
It not so important that the geometry matches the drive, as its important
that its the same geometry that was used when the data was written..
This is getting into a word game, now isn't it :)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team
Even more code to hack -- will it ever end?
..
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810140904.LAA29428>
