Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 09:25:07 +0100 (CET)
From:      Soren Schmidt <sos@freebsd.dk>
To:        imp@village.org (Warner Losh)
Cc:        phk@critter.freebsd.dk (Poul-Henning Kamp), luigi@info.iet.unipi.it (Luigi Rizzo), current@FreeBSD.ORG
Subject:   Re: Reading from bad disk ?
Message-ID:  <200003220825.JAA57801@freebsd.dk>
In-Reply-To: <200003220735.AAA29564@harmony.village.org> from Warner Losh at "Mar 22, 2000 00:35:19 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Warner Losh wrote:
> In message <200003220726.IAA44014@freebsd.dk> Soren Schmidt writes:
> : > TEMPC=`camcontrol cmd -v -n da -u 0 -c "4D 0 76 0 0 0 0 0 20 0" -i 32 "s9 i1"`
> ....
> : Hmm, wonder if one can get that info from their ATA disks as well...
> 
> Don't know.  You'd have to ask IBM.  All the above camcontrol is doing
> is reading a special mode page (I'm sure ken will correct me if I'm
> wrong)...  Do ata drives have this concept?

Yup, they have "SMART" for this, just brovsed my docs and found that 
the newer DPTA series has temperature as one of the things in there,
it doesn't seem that the older ones has it though...
Guess I have to finish that SMART handeling code I have lying here,
now that I got some motivation for it :)

-Søren


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?200003220825.JAA57801>