Manual pages › System administration commands (1M)
disks(1M)
adds /dev/entries for hard disks in the Equipped Device Table
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
disks - adds /dev/entries for hard disks in the Equipped Device Table
SYNOPSIS
/sbin/disks
DESCRIPTION
disks will search the Equipped Device Table (EDT) to see which hard disks are equipped. For each equipped hard disk, the following steps are performed:
1. The /dev/dsk and /dev/rdsk directories are checked for an entry with the name c[slot]d?s6, where [slot] 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 ? is the number of the disk attached to the controller. The system board disk controller is capable of controlling two disks: 0 and 1.
2. If either entry is not found, disks creates /dev/dsk and /dev/rdsk entries for the disk. The /dev/SA and /dev/rSA entries are created and linked to the c[slot]d?s6 entry in /dev/dsk and /dev/rdsk respectively. The /dev/SA and /dev/rSA entries are named diskx where x is the lowest unused number for disk entries. A message is printed indicating that /dev files have been created.
disks is called each time the system is booted. It must also be called after ``sysadm rmdisk'' to restore the /dev entries so the disk can be repartitioned.
FILES
/dev/dsk/*
entries for the hard disk for general use
/dev/rdsk/*
/dev/SA/* entries for the hard disk for use by System
Administration
/dev/rSA/*
SEE ALSO
sysadm(1) in the User's Reference Manual.