From owner-freebsd-current Wed Oct 14 02:05:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01449 for freebsd-current-outgoing; Wed, 14 Oct 1998 02:05:26 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [212.242.40.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01436; Wed, 14 Oct 1998 02:05:10 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.9.1/8.9.1) id LAA29428; Wed, 14 Oct 1998 11:04:41 +0200 (CEST) (envelope-from sos) Message-Id: <199810140904.LAA29428@sos.freebsd.dk> Subject: Re: bitten 3 times already. In-Reply-To: <199810140845.SAA12607@godzilla.zeta.org.au> from Bruce Evans at "Oct 14, 98 06:45:04 pm" To: bde@zeta.org.au (Bruce Evans) Date: Wed, 14 Oct 1998 11:04:41 +0200 (CEST) Cc: Marius.Bendiksen@scancall.no, sos@FreeBSD.ORG, freebsd-current@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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