Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getmajor(1M) — Amiga System V Release 4 Version 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

editttbl(1M)

prtconf(1M)



getmajor(1M)      MISC. REFERENCE MANUAL PAGES       getmajor(1M)



NAME
     getmajor - print major number(s) of hardware devices

SYNOPSIS
     /usr/sbin/getmajor name | ID_code

DESCRIPTION
     The getmajor  command  prints  all  major  numbers  for  the
     requested  device  found in the system Equipped Device Table
     (EDT).  Slot and major numbers are the same for boards  that
     are  installed directly into the backplane slots of the com-
     puter. ID_code is a number between 0x0  and  0xffff  that  a
     device uses to identify itself.

     Devices that are on extended  buses  (e.g.,  Small  Computer
     System  Interface  (SCSI)  target  controllers)  do not have
     board ID codes.  The proper way to use getmajor  with  these
     devices is /usr/sbin/getmajor name.

DIAGNOSTICS
     If successful, a zero is returned.  If name  or  ID_code  is
     not  found,  a  blank line is printed and the return code is
     nonzero.

SEE ALSO
     editttbl(1M), prtconf(1M).





























                Last change: Essential Utilities                1



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