Re: Identify IDE device?

From: Dave Jones (davej@suse.de)
Date: Tue Oct 30 2001 - 20:46:51 EST


On 30 Oct 2001, Mark Atwood wrote:

> Is there a way, via an ioctl call, or something to identify what
> specific IDE hard disk or other IDE device is hooked up to the IDE
> controller?

HDIO_GET_IDENTITY is the ioctl you seek.

Grab the hdparm source for an example of how to use this and other
IDE related ioctls.

regards,

Dave.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:42 EST