10.1;lty (list_types), revision 1.0, 88/07/02
lty (list_types) - list installed types.
usage: lty [-n node_spec] [-u] [-glob | -priv] [-t] [type_name]
DESCRIPTION
lty lists the types currently installed on a volume. It can also be used
to list the contents of internal caches for debugging purposes.
type_name (optional)
Display information about the specified types. You can use
one or more names, and get information about that list of
names only. You may not mix type and trait names in the
list. If it's a list of trait names, you must also use the
the -t option. If you specify type or trait names, you may
also use the -u, -n, and other options.
OPTIONS
If no options are specified, lty lists types installed on the boot
volume.
-n node_spec Specify the node whose type names are to be listed. 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.
-u Display type UIDs as well as type names.
-glob Display contents of global type name cache instead of the
type file (for debugging only).
-priv Display the contents of the private (per-user) type name
cache instead of the type file (for debugging only).
-t[rait] Display the list of named traits, instead of the list of
types.
EXAMPLES
$ lty
Local type file
area bitmap boot casehm ddf evetype hdru ipad
lheap mbx mt nil null obj objlib pad
pipe rec sch sio uasc und
$ lty -u -trait
Local trait list
uid name
26D05884.40003166 io
2717AFC4.B0003166 io_oc
26D058C3.70003166 io_xoc
278096FD.20002ACB ios_dir
4 entries listed.
In the following example, the disk has been mounted for software
installation. The disk's top level directory (cataloged as /mounted_disk
by the mtvol command) must contain a sys directory. If it does not, you
get a "types file not found" error.
$ mtvol w /mounted_disk
$ lty -n /mounted_disk
Type file for "//my_node/mounted_disk"
area bitmap boot casehm ddf evetype hdru ipad
lheap mbx mt nil null obj objlib pad
pipe rec sch sio uasc und
SEE ALSO
More information is available. Type
help crty For information on creating types
help dlty For information on deleting types
help trty For information on testing a type trait