Hi,

Thanks. Using the above sample code I am able to fetch HDD Serial number 
provided the disk name e.g: sd0, sd1 or dad0, dad1.

But I have to manually check (using kstat command ) and pass which disk name is 
available based on IDE or SCSI to kstat_lookup() fun.

When SCSI used to connect hard disk, names are: sd0, sd1
When IDE used to connect hard disk, names are: dad0, dad1, etc.

Can We automate this to decide real disk name before searching kstats ?

Also when more than one hard disks are connected, Can we use instance parameter 
to index these disks ?

Clarify on this.

Thanks,
Tejinder
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to