From owner-freebsd-hackers Thu Jun 26 19:07:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27918 for hackers-outgoing; Thu, 26 Jun 1997 19:07:08 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA27885 for ; Thu, 26 Jun 1997 19:06:55 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA08899; Fri, 27 Jun 1997 11:35:43 +0930 (CST) From: Michael Smith Message-Id: <199706270205.LAA08899@genesis.atrad.adelaide.edu.au> Subject: Re: Disk built-in hw cache In-Reply-To: from Andrzej Bialecki at "Jun 26, 97 05:37:57 pm" To: abial@korin.warman.org.pl (Andrzej Bialecki) Date: Fri, 27 Jun 1997 11:35:42 +0930 (CST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Andrzej Bialecki stands accused of saying: > > I just read certain discussion on Linux list concerning > bad/missing/removed disk cache in "repaired" (and sold as new) hard disks. > Linux prints during probing the size of disk cache (at least that what the > hd will tell it). How to achieve the same result in FreeBSD? There is a > #ifdef WDDEBUG flag in wd.c, around some interesting printfs. Will it give > me this info? Uhh, this sounds pretty bogus. Do you have a reference to anything authoratative on the subject? It's probable that some IDE disk vendors allow you to query the cache size using a vendor-specific command, but the thought of "removing" the cache memory from a repaired disk is laughable. The PCBA on a modern disk is worth no more than a few dollars; the _only_ economical means for "reapairing" it would be to throw it away and replace it. > Andrzej Bialecki FreeBSD: Turning PCs Into Workstations -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[