Skip to contentSkip to conversation

How to tap into running libata?

DISCUSSION Russell 1 participant 1 message Apr 2, 2007 libata

lore
Share & tools
lore

Russell

author
#0 lore raw

Hi everyone,

I am trying to write a program to talk through the libata driver to control a SATA drive connected to a SiI 3124 PCI card. Can anyone tell me how to query/probe the driver to find out what it knows about my device?

I know the drive is alive because I can issue the usual shell commands (fdisk, mkfs, mount, cp, ls, etc) to it and they all work. Device comes up as /dev/sda and dev/sda1 once it's partitioned. It is the only SATA device in the system, although ultimately there will be more drives connected to the 3124 card.

Thank you in advance!
-Russell Sloan