Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935566AbXJPTvb (ORCPT ); Tue, 16 Oct 2007 15:51:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932486AbXJPTvQ (ORCPT ); Tue, 16 Oct 2007 15:51:16 -0400 Received: from dsl081-033-126.lax1.dsl.speakeasy.net ([64.81.33.126]:45923 "EHLO bifrost.lang.hm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934219AbXJPTvO (ORCPT ); Tue, 16 Oct 2007 15:51:14 -0400 Date: Tue, 16 Oct 2007 12:54:58 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: Alan Cox cc: Stefan Richter , Matthew Wilcox , Rob Landley , David Newall , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Suparna Bhattacharya , Nick Piggin Subject: Re: What still uses the block layer? In-Reply-To: <20071016111911.30a18e12@the-village.bc.nu> Message-ID: References: <200710112011.22000.rob@landley.net> <200710141836.55211.rob@landley.net> <4712FE33.3000400@s5r6.in-berlin.de> <200710150426.04924.rob@landley.net> <20071015160800.GA324@parisc-linux.org> <47139F15.7050702@s5r6.in-berlin.de> <20071016111911.30a18e12@the-village.bc.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1232 Lines: 28 On Tue, 16 Oct 2007, Alan Cox wrote: >>> /dev/sd-ide-b - second IDE HDD, >>> /dev/sr-sata-0 - first SATA CD-ROM, > > I wouldn't try dividing those by pata v sata. You'll cause all sorts of > problems in the process because of PATA-SATA and SATA-PATA bridges. if you use a PATA-SATA bridge (IDE drive SATA controller), it would look to the system like a SATA drive and be addressed and enumerated as SATA. if you use a SATA-PATA bridge (SATA drive, PATA controller), it would look to the system like a PATA drive and be addressed and enumerated as PATA. prior to libata the device would be /dev/hdX, with X depending on how it's cabled and if it's set to master or slave, it wouldn't matter if that device then converts to other things, the system would still know it as an IDE drive. this works exactly the same way that external encosures that hold SATA or IDE drives, but have SCSI interfaces to the system have always worked so it's what sysadmins will expect. David Lang - 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/