Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 30 Oct 2001 20:46:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 30 Oct 2001 20:46:20 -0500 Received: from ns.suse.de ([213.95.15.193]:37905 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Tue, 30 Oct 2001 20:46:15 -0500 Date: Wed, 31 Oct 2001 02:46:51 +0100 (CET) From: Dave Jones To: Mark Atwood Cc: Subject: Re: Identify IDE device? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/