Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

get drive id string for ide/sata?

26 views
Skip to first unread message

jimm

unread,
Mar 12, 2012, 3:30:52 AM3/12/12
to
how do I get the drive id string?
is this a major undertaking and direct controller access?
my guess is, it is. I was hoping it wouldn't be and that the task has
already been done somewhere.
I would like to incorporate the code into a secure disk wiping program
which I unpublished, but I use and maintain for myself.

RayeR

unread,
Mar 14, 2012, 6:57:57 PM3/14/12
to
I don't know what ID string you exactly mean but probably the ID in
drive firmware, so you have to send proper ATA command identify drive
to get structure with various info data about the drive. You need to
access drive controller directly via inportb/outportb functions to
read/write from/to IO space...

Jim Michaels

unread,
Mar 15, 2012, 7:32:40 PM3/15/12
to
something akin to
Seagate ST225R

the make and model number.
something really nice would be the SATA or IDE drive and channel number.

this sounds like it's going to be absolutely gigantic code...
and I don't have any information to go by.
0 new messages