From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Salmon Subject: Re: Solaris device naming Date: Fri, 12 Apr 2002 09:15:00 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <2300000.1018595700@ronnerdahl> References: <5.1.0.14.0.20020411141105.0441aa68@ashevillemail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5.1.0.14.0.20020411141105.0441aa68@ashevillemail.com> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-admin@vger.kernel.org --On Thursday, April 11, 2002 14:18:16 -0400 Michael French wrote: > I have been using Linux for several years and feel pretty > comfortable with device naming conventions for most things. I have > recently started using Solaris quite a bit more (sigh....). I am trying > to understand naming conventions for devices such as hard disks, cds, > floppies, ethernet, etc. and have not found a good concise source yet. I > am reading a Solaris 8 admin book and have gotten about 150 pages into it > and have not found much on it yet. Why does Solaris use > /dev/dsk/c0t0d0s6. I understand that it is in the dsk dir because it is > a hard disk and that it is the 6th scsi partition, but what does the > other stuff represent? What is the logic behind it? Any help to some > good docs or a short description here would be appreciated. Thanks! Strictly speaking Solaris doen't use the devices under /dev, it uses the /devices directory instead. That is pretty easy to understand, you have a direct connection between physical addresses and /devices paths. The /dev paths come from SVR4, the C stands for controller, more or less, the T means target or address on that bus, the D means device which is the LUN and the S stands for slice or partition. BTW, s6 is the 7th partition. Once a disk has been assigned an address it doesn't change which is usually good except when it is an FC disk as the /devices path includes the WWN, sigh. Unfortunately there is no way to tell which disk corresponds to c0t0s0d0 without following the links. The C numbers are assigned cronologically as disks are found in the system, however as the root disk controller is always found first it is always c0, not much else is certain. You can try , , and for more information. Somewhere on soldc there is a document on interpreting /devices. /Michael -- This space intentionally left non-blank.