CRTY(1) Domain/OS BSD CRTY(1)
NAME
crty - create a new type
SYNOPSIS
crty [options] 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. 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 mount(8) command) must contain a sys directory. If it does not, you
get a "type manager directory not found" error.
$ /etc/mount /mount_disk
$ crty example_type -n /mount_disk -l
"example_type" 24BFB71E.200001FB created on volume
//my_node/mount_disk.
SEE ALSO
dlty(1), inty(1), lty(1), mount(8)