Hi,

It's easy to get the model and serial number of a SCSI HDD. One ioctl()
call is enough. 
I'm trying to retrieve the same for an ATA disk. What I've found so far is
a DIOCTL_GETSERIAL cmdk ioctl command which seems to do the job.
It is defined in dadkio.h. Below, there is also a comment how to use the 
command, but I can't get it working. 

Any help is greatly appreciated. Please be gentle however, as I don't have 
experience in device driver writing.

Mariusz Zynel
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to