From owner-freebsd-current Wed Oct 14 00:30:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA24807 for freebsd-current-outgoing; Wed, 14 Oct 1998 00:30:43 -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 AAA24778; Wed, 14 Oct 1998 00:30:34 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.9.1/8.9.1) id JAA09355; Wed, 14 Oct 1998 09:30:15 +0200 (CEST) (envelope-from sos) Message-Id: <199810140730.JAA09355@sos.freebsd.dk> Subject: Re: bitten 3 times already. In-Reply-To: <3.0.5.32.19981014083411.00923cd0@mail.scancall.no> from Marius Bendiksen at "Oct 14, 98 08:34:11 am" To: Marius.Bendiksen@scancall.no (Marius Bendiksen) Date: Wed, 14 Oct 1998 09:30:15 +0200 (CEST) Cc: 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 Marius Bendiksen who wrote: > >You dont need to run the drive in LBA mode to coexist with DOS or whatever. > >Also you dont need to run the drive in LBA mode to use >8G, infact using > >LBA has nothing to do with >8G support. >8G support has something to do > >with us probing the drive correctly and using it that way. > > I know I don't need to run the drive in LBA mode, and that LBA has nothing > to do with >8G support. I *have* written an IDE driver before, you know. Great! anything we could use perhaps ?? > 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 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