Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fnlookup(1)

fnrename(1)

fnunbind(1)

FN_identifier_t(3N)

xdr(3N)

fns(5)

xfn_links(3N)

fnbind(1)

NAME

fnbind − Bind a reference to an FNS name

SYNOPSIS

fnbind [ −s ] [ −v ] [ −L ] name new_name

fnbind −r [ −s ] [ −v ] new_name [ −O | −U ] ref_type

{ [ −O | −U ] addr_type [ −c | −x ] addr_contents } ...

DESCRIPTION

fnbind binds the reference named by name to the name new_name.  The second synopsis of fnbind (uses the −r option) allows the binding of new_name to the reference constructed using arguments supplied in the command line. 

OPTIONS

−s Bind to new_name even if it is already bound.  If this option is omitted, fnbind fails if new_name is already bound. 

−v Display the reference being bound to new_name. 

−L Create an XFN link using name and bind it to new_name. 

−r Create a reference using ref_type as the reference’s type, and one or more pairs of addr_type and addr_contents as the reference’s list of addresses, and bind this reference to new_name.  Unless the −O or −U options are used, FN_ID_STRING is used as the identifier format for ref_type and addr_type.  Unless the −c or −x options are used, addr_contents is stored as an XDR-encoded string. 

−c Store addr_contents in the given form; do not use XDR-encoding. 

−x addr_contents specifies an hexidecimal string.  Convert it to its hexidecimal representation and store it; do not use XDR-encoding. 

−O The identifier format is FN_ID_ISO_OID_STRING, an ASN.1 dot-separated integer list string. 

−U The identifier format is FN_ID_DCE_UUID, a DCE UUID in string form. 

EXAMPLES

For example, the command

eg% fnbind -s thisorgunit/service/printer thisorgunit/service/pr

binds the name thisorgunit/service/pr to the reference named by thisorgunit/service/printer.  Any reference bound to thisorgunit/service/pr is overwritten. 

For example, the command

eg% fnbind -L thisorgunit/service/printer thisorgunit/service/pr

binds the name thisorgunit/service/pr to the XFN link constructed using the name thisorgunit/service/printer. 

For example, the command

eg% fnbind -r thisorgunit/service/calendar SUNW_cal \ SUNW_cal_deskset_onc staff@exodus

binds the name thisorgunit/service/calendar to the reference with reference type SUNW_cal and address type SUNW_cal_deskset_onc, and address contents of staff@exodus. 

SEE ALSO

fnlookup(1), fnrename(1), fnunbind(1), FN_identifier_t(3N), xdr(3N), fns(5), xfn_links(3N)

SunOS 5.5/SPARC  —  Last change: 4 Nov 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026