Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
SunOS/BSD Compatibility Package Commandsucblinks(1B)


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]

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

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWscpu

SEE ALSO

 

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


SunOS 5.9Go To TopLast Changed 13 Apr 1994

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.