From: Michael Laajanen on
Hi,

What mechanism controlles the device enumration, thinking first of disk
entries?

I am writing a test description for a embedded system and would like to
always have the disks named in the same way.


/michael
From: Richard B. Gilbert on
Michael Laajanen wrote:
> Hi,
>
> What mechanism controlles the device enumration, thinking first of disk
> entries?
>
> I am writing a test description for a embedded system and would like to
> always have the disks named in the same way.
>
>
> /michael

There will be an entry in /dev for each device present. The entries
in /dev can change if devices are installed or removed AND you create a
file in the root directory to tell the system to scan for all devices.

From *memory* you want to create /.reconfigure which causes the O/S to
scan for devices at boot time and rebuild /dev. Alternatively you can
do a "boot -r"

I'm sure that this is described in some detail in Sun's Solaris
documentation. If you don't have the documentation you can download it
from docs.sun.com. You can also order hard copy which I strongly
recommend! There is nothing quite so useless as machine readable
documentation on a system that will not function.
From: hume.spamfilter on
Michael Laajanen <michael_laajanen(a)yahoo.com> wrote:
> What mechanism controlles the device enumration, thinking first of disk
> entries?

I believe /etc/name_to_major and /etc/path_to_inst are the files you'd be
interested in. They both have manpages describing their use, and I think
that sounds most like what you're after.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/