2.0;crty (create_type), revision 2.0, 86/07/30
CRTY (CREATE_TYPE) -- Create a new type.
usage: CRTY type_name [-N node_spec] [-L] [-U high.low] [-BIN pathname] {CL}
FORMAT
CRTY type_name [options]
The CRTY command creates new types. 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.
ARGUMENTS
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. See
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.
-U high.low Create the type with the specified unique identifier (UID).
Give the high and low addresses for the UID as indicated.
Use this option only for system debugging purposes. Misuse
of this option may cause programs to behave incorrectly.
-B[INARY] pathname
Create the type from the specified object module (which was
created by CRTYOBJ). This allows you to add a new type to
a system from an object module which can be shipped on
media like floppies, magnetic tapes, etc.
EXAMPLES
1. $ crty example_type -l
"example_type" 24BF9F41.100001FB created.
2. $ 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 (catalogued as '/mounted_disk' by the MTVOL
command) must contain a "sys" directory. If it does not, you will get a "type
manager directory not found" error.
3. $ mtvol w /mounted_disk
$ crty example_type -n /mounted_disk -l
"example_type" 24BFB71E.200001FB created on volume //my_node/mounted_disk.
RELATED TOPICS
More information is available. Type:
- HELP DLTY
for information on deleting types.
- HELP LTY
for information on listing types.