'\"macro stdmacro
.if n .pH g1a.disks @(#)disks	40.6 of 1/17/90
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} disks 1M "Essential Utilities" "\&"
.if \nX=1 .ds x} disks 1M "Essential Utilities"
.if \nX=2 .ds x} disks 1M "" "\&"
.if \nX=3 .ds x} disks "" "" "\&"
.TH \*(x}
.SH NAME
\f4disks\f1 \- adds /dev/entries for hard disks in the Equipped Device Table
.SH SYNOPSIS
\f4/sbin/disks\f1
.SH DESCRIPTION
\f4disks\fP
will search the Equipped Device Table (EDT) to see which hard disks are equipped.
For each equipped hard disk, the following steps are performed:
.TP 4
1.
The \f4/dev/dsk\f1 and \f4/dev/rdsk\f1 directories are checked
for an entry with the name
\f4c[slot]d?s6\f1, where \f4[slot]\f1 is the slot the disk
controller board is plugged into (0 for the disks
controlled by the integral disk controller on the system board).
The \f4?\f1 is the number of the disk attached to the controller.
The system board disk controller is capable of controlling two
disks: 0 and 1.
.TP
2.
If either entry is not found,
\f4disks\fP creates \f4/dev/dsk\f1 and \f4/dev/rdsk\f1 entries for the disk.
The \f4/dev/SA\f1 and \f4/dev/rSA\f1 entries are created and linked to the \f4c[slot]d?s6\f1
entry in \f4/dev/dsk\f1 and \f4/dev/rdsk\f1 respectively.
The \f4/dev/SA\f1 and \f4/dev/rSA\f1 entries are named diskx where \f2x\f1 is
the lowest unused number for disk entries.
A message is printed indicating that \f4/dev\f1 files have been created.
.PP
\f4disks\fP
is called each time the system is booted.
It must also be called after ``sysadm rmdisk''
to restore the \f4/dev\f1 entries so the disk can be repartitioned.
.SH FILES
.PD 0
.TP 1i
\f4/dev/dsk/\(**\f1
entries for the hard disk for general use
.TP
\f4/dev/rdsk/\(**\f1
.TP
\f4/dev/SA/\(**\f1
entries for the hard disk for use by System Administration
.TP
\f4/dev/rSA/\(**\f1
.SH SEE ALSO
\f4sysadm\fP(1) in the
\f2User's Reference Manual\f1.
.Ee
