From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rudy Zijlstra Subject: Re: mapping ataXX.YY to a /dev/sdX Date: Sun, 11 Jul 2010 01:49:23 +0200 Message-ID: <4C390703.80703@grumpydevil.homelinux.org> References: <87wrt7ijp3.fsf@rimspace.net> <4C35A2FC.5080402@buttersideup.com> <20100708104422.GA32564@cthulhu.home.robinhill.me.uk> <20100708232631.014a5ade@atak.bl.pg.gda.pl> <4C37FA32.8020008@wasp.net.au> <4C381BC4.9040903@grumpydevil.homelinux.org> <4C38C8BD.4050604@garzik.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from tritonia.xxlwebhosting.nl ([81.4.88.63]:56784 "EHLO tritonia.xxlwebhosting.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753399Ab0GJXte (ORCPT ); Sat, 10 Jul 2010 19:49:34 -0400 In-Reply-To: <4C38C8BD.4050604@garzik.org> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Jeff Garzik Cc: Brad Campbell , Mikael Abrahamsson , Janek Kozicki , linux-raid@vger.kernel.org, linux-ide@vger.kernel.org Jeff Garzik wrote: > On 07/10/2010 03:05 AM, Rudy Zijlstra wrote: >> Judging from my dmesg and lsscsi on a system with both scsi and SATA, >> ataX translates into scsi X:0:0:0 > > > There is no translation. > > It is random, based on driver load order. This then begs the question whether it can be dependingly derived from dmesg messages. Like messages [ 2.268315] ata7.00: configured for UDMA/133 [ 2.277452] scsi 7:0:0:0: Direct-Access ATA WDC WD7500AAKS-0 30.0 PQ: 0 ANSI: 5 always following each other, thus making identification possible. Cheers, Rudy