[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0710161238140.6995@asgard.lang.hm>
Date: Tue, 16 Oct 2007 12:54:58 -0700 (PDT)
From: david@...g.hm
To: Alan Cox <alan@...rguk.ukuu.org.uk>
cc: Stefan Richter <stefanr@...6.in-berlin.de>,
Matthew Wilcox <matthew@....cx>, Rob Landley <rob@...dley.net>,
David Newall <david@...idnewall.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
Suparna Bhattacharya <suparna@...ibm.com>,
Nick Piggin <piggin@...erone.com.au>
Subject: Re: What still uses the block layer?
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists