Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 18:45:04 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        Marius.Bendiksen@scancall.no, sos@FreeBSD.ORG
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: bitten 3 times already.
Message-ID:  <199810140845.SAA12607@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 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.

Bruce


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?199810140845.SAA12607>