10.0;crty (create_type), revision 1.0, 88/01/21
crty (create_type) - create a new type.
usage: crty [-n node_spec] [-l] [-u high.low] [-bin pathname] {cl} type_name
DESCRIPTION
crty creates a new type. It creates an identifier for the new type, and
associates it with the supplied type name. New types are used to
identify a new kind of manager for streams.
type_name (required)
Specify the name to assign to the created type.
OPTIONS
-n node_spec Specify the node on which the type is to be created. Type
help node_spec for details about node specification
syntax. You may also specify the entry directory of a
volume mounted for software installation, as shown in the
example below. If this option is omitted, the type is
created on the current node.
-l List the type name/type identifier pair that is created.
-b[inary] pathname
Create the type from the specified object module (which
was created by crtyobj). This allows you to use an object
module (shipped on media like floppies, magnetic tapes,
etc) to add a new type to a system.
-u high.low Create the type with the specified unique identifier
(UID). Give the high and low addresses for the UID as
indicated.
Note: Use this option only for system debugging.
Misuse of this option may cause programs to
behave incorrectly.
EXAMPLES
$ crty example_type -l
"example_type" 24BF9F41.100001FB created.
$ crty example_type -n //test_vol -l
"example_type" 24BFA6F8.200001FB created on volume //test_vol.
In the following example, the disk has been mounted for software
installation. The disk's top level directory (cataloged as /mount_disk by
the mtvol command) must contain a sys directory. If it does not, you get
a "type manager directory not found" error.
$ mtvol w /mount_disk
$ /etc/mount /mount_disk
$ crty example_type -n /mount_disk -l
"example_type" 24BFB71E.200001FB created on volume
//my_node/mount_disk.
SEE ALSO
More information is available. Type
help dlty For information on deleting types
help lty For information on listing types
help inty For information on intalling new types