From: Michael Salmon <Michael.Salmon@uab.ericsson.se>
To: linux-admin@vger.kernel.org
Subject: Re: Solaris device naming
Date: Fri, 12 Apr 2002 09:15:00 +0200 [thread overview]
Message-ID: <2300000.1018595700@ronnerdahl> (raw)
In-Reply-To: <5.1.0.14.0.20020411141105.0441aa68@ashevillemail.com>
--On Thursday, April 11, 2002 14:18:16 -0400 Michael French
<mfrench@ashevillemail.com> 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 <http://sunsolve.sun.com>, <http://docs.sun.com>,
<http://soldc.sun.com> and <http://www.sunhelp.org> for more information.
Somewhere on soldc there is a document on interpreting /devices.
/Michael
--
This space intentionally left non-blank.
prev parent reply other threads:[~2002-04-12 7:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-11 18:18 Solaris device naming Michael French
2002-04-11 18:37 ` Hannu Hirvonen
2002-04-12 7:15 ` Michael Salmon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2300000.1018595700@ronnerdahl \
--to=michael.salmon@uab.ericsson.se \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).