netbsd-embed...@gmx.com (Don NetBSD) writes: >> | > SMART [...] so it is clearly possible. >> | >> | I think only via wd(4)? >> >> Oh, you mean, not sd(4) - yes, possibly. Sorry, I have no idea how >> one would access that kind of data over scsi.
>I will have to keep poking through the manual pages. SMART is something that only exists for ATA but modern SCSI devices may provide similar information on some mode pages. Our atactl tool can query SMART status, but maybe not everything you want to know. For SCSI there is nothing, you need to make your own tool to issue the proper commands with SCIOCCOMMAND. It's possible that the smartmontools in pkgsrc help. Devices attached to RAID controllers or something behind USB adapters can be more of a problem. Passing through low-level commands is usually not implemented. -- -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."