[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    ucblinks(1B) manual page Table of Contents

Name

ucblinks - adds /dev entries to give SunOS 4.x compatible names to SunOS 5.x devices

Synopsis

/usr/ucb/ucblinks [ -e rulebase ] [ -r rootdir ]

Availability

SUNWscpu

Description

ucblinks creates symbolic links under the /dev directory for devices whose SunOS 5.x names differ from their SunOS 4.x names. Where possible, these symbolic links point to the device’s SunOS 5.x name rather than to the actual /devices entry.

ucblinks does not remove unneeded compatibility links; these must be removed by hand.

ucblinks should be called each time the system is reconfiguration-booted, after any new SunOS 5.x links that are needed have been created, since the reconfiguration may have resulted in more compatibility names being needed.

In releases prior to SunOS 5.4, ucblinks used a nawk rule-base to construct the SunOS 4.x compatible names. ucblinks no longer uses nawk for the default operation, although nawk rule-bases can still be specifed with the -e option. The nawk rule-base equivalent to the SunOS 5.4 default operation can be found in /usr/ucblib/ucblinks.awk.

Options

-e rulebase
Specify rulebase as the file containing nawk(1) pattern-action statements.
-r rootdir
Specify rootdir as the directory under which dev and devices will be found, rather than the standard root directory /.

Files

/usr/ucblib/ucblinks.awk
sample rule-base for compatibility links

See Also

devlinks(1M) , disks(1M) , ports(1M) , tapes(1M)


Table of Contents