I am trying to port the 'smartmontools' package from sourceforge.net to
FreeBSD.  However, I am running into some issues.  I need to be able to
send SMART commands (and read responses) to ATA disk drives.  At first
glance, it looked like the generic ATAPI layer would work great, but I
have found that the ATA disk drives do NOT support generic ATAPI
commands (through that ATAPICMD ioctl).  

So now I am at a loss as to how best to proceed.  Should I just patch
the code in ata-all.c that looks for an ATAPI_MASTER or SLAVE device?
(and allow a ATA_MASTER and SLAVE) to receive ATAPI commands?  Should I
try to work up a new IOCTL to support ATAPI commands to ATA disks?
Should I add IOCTL support to the AD device driver?

Any suggestions? 

Ed





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to