if you're using the contrib package quanstro/sd
and pull the new quanstro/fis and quanstro/atazz
and you have a newish ata drive that supports sct,
it's simple to check drive temperature:
chula# hdtemp
/dev/sda0 32
/dev/sda3 34
/dev/sdE0 33
you can check manually for sct support
by using atazz
chula# atazz /dev/sda0
az> dev
dev /dev/sda0
flags lba llba smart nop ata8
> sct yes
geometry 976773168 512
fancier incantations (like the last n temperature
readings) can be found in /sys/src/cmd/atazz/sctnotes.
i'm sure you can do the same thing with sas drives,
i just haven't bothered yet.
- erik