Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ disks(1a) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sysadm(1)



disks(1M)        SYSTEM ADMINISTRATION COMMANDS         disks(1M)



NAME
     disks - adds /dev/entries for hard  disks  in  the  Equipped
     Device Table

SYNOPSIS
     /sbin/disks

DESCRIPTION
     disks searches 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 c0d[SCSIID]s2, where 0 is the
         integral disk  controller  on  the  system  board.   The
         [SCSIID] is the number of the disk attached to the con-
         troller.  An internal disk is 0;  additional  disks  use
         numbers  from  1-6, depending on the setting on the disk
         itself.  The s2 is a partition number that refers to the
         whole disk.

     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
         c0d[SCSIID]s2  entry  in /dev/dsk and /dev/rdsk respec-
         tively.  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.













                                                                1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026