'\"macro stdmacro
.if n .pH g1a.sysdef @(#)sysdef	40.10 of 10/10/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} sysdef 1M "System Administration Utilities" "\&"
.if \nX=1 .ds x} sysdef 1M "System Administration Utilities"
.if \nX=2 .ds x} sysdef 1M "" "\&"
.if \nX=3 .ds x} sysdef "" "" "\&"
.TH \*(x}
.SH NAME
\f4sysdef\f1 \- output system definition
.SH SYNOPSIS
\f4/usr/sbin/sysdef\f1 [-n \f2namelist\f1 [-m \f2master\fP ] ]
.br
\f4/usr/sbin/sysdef\f1 -i
.SH DESCRIPTION
\f4sysdef\f1 outputs the current system definition in tabular form.
It lists all hardware devices,
their local bus addresses,
and unit count,
as well as pseudo devices,
system devices,
loadable modules, and
the values of selected kernel tunable parameters.
.P
It generates the output by
analyzing the named bootable operating system
file (\f2namelist\f1) and extracting 
the configuration information from it and files in the \f4master\fP
directory.
This directory contains the system configuration files used to build
\f2namelist\fP.
.P
The default system \f2namelist\fP is \f4/stand/unix\fP;  the default
\f2master\fP directory is \f4/etc/master.d\fP.
.PP
Valid options and parameters are:
.TP
-n \f2namelist\fP
Specifies a \f2namelist\fP other than the default (\f4/stand/unix\fP).
The \f2namelist\f1 specified must be a valid bootable operating system
[see \f4cunix\f1(1M)].
.TP
-m \f2master\fP
Specifies a \f2master\fP directory other than the default
(\f4/etc/master.d\fP).
Can only be used with the \f4\-n\fP option.
.TP
-i
Allows you read the configuration information from
the kernel that is currently in memory (i.e., from \f4/dev/kmem\fP)
rather than from a file.
.SH DIAGNOSTICS
.TP
.I internal name list overflow
If the master table contains more than an internally specified number
of entries for use by
\f4nlist\fP(3C).
.SH FILES
.TP 1.2i
\f4/stand/unix\f1
default operating system file (file that contains the system namelist)
.TP 1.2i
\f4/etc/master.d/\f1*
default directory containing master files
.SH SEE ALSO
\f4cunix\fP(1M),
\f4master\fP(4).
.br
\f4nlist\fP(3C) in the
\f2Programmer's Reference Manual\f1.
.Ee
