DOCUMENT ID:  1067-02

SYNOPSIS:     How and when are the links from /dev to /devices created?

OS RELEASE:   Solaris x86

PRODUCT:

KEYWORDS:     devices directory link dev


DESCRIPTION:

When using ddi_create_minor_node, an entry is created in the /devices
directory, but when and how does that entry get linked in the /dev
directory?


SOLUTION:

After the /devices node has been created, the following utilities can be
used to create appropriate links from /devices to /dev directory. 

 For Disks: Use the utility /usr/sbin/disks.
 For tapes: Use the utility /usr/sbin/tapes.
 For serial ports: Use the utility /usr/sbin/ports.
 For Pseudo devices: Make appropriate entries in
 /etc/devlink.tab and then execute /usr/sbin/devlinks.

For clone drivers: The nodes under /dev are created when the driver open
routine is called. 

All of these utilities should be run either after executing
 /usr/sbin/drvconfig or /usr/sbin/add_drv. 

Note: boot -r (reconfiguration boot) automatically runs the above
mentioned utilities. 


DATE APPROVED: 07/28/95