Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ devinfo(1M) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

prtvtoc(1M)

prtconf(1M)

devinfo(1M)  —  ADMINISTRATOR COMMANDS

NAME

devinfo − print device specific information

SYNOPSIS

devinfo [-i] [-a] [-p] [-e xx[%y]] special

DESCRIPTION

The devinfo command is used to print device specific information about devices on standard out.  The special argument must be a raw device (e.g. /dev/rdsk/?). 

The −a option prints special followed by auto-configuration device identifier associated with the specified device. 

The −i option prints the following information about disks on one line, with each item separated by a tab: special, the software version, the internal device ID number, the number of blocks per cylinder, the number of bytes per sector, and the number of active slices. 

The −p option prints the following disk slice information on one line, with each item separated by a tab: special, the device major number (in hexadecimal), the device minor number (in hexadecimal), the starting block number (in decimal), the size of the slice (in decimal), the flag associated with the slice (in decimal), and the tag associated with the slice (in decimal). 

The −e options prints EDT information about special.  The data to be printed is designated mnemonically by "xx", and the print format, which is chosen from a subset of those used by printf(3), is designated by "%y".  If "%y" is not supplied, a default format is used. 

Valid print types for "%y" are:  %d, %i, %x, %o, %u, and %X. 

Valid mnemonics for "xx" and default print types are:

Mnemonic Default print type Object from edt_data
ia %x I/o address
il %d I/o length
ma %x Memory address
ml %d Memory length
nv %d Number of interrupt vectors
vc %x Interrupt vector
ip %d Interrupt priority level
ty %d Type
a1 %d Aux info 1
a2 %d Aux info 2
a3 %d Aux info 3
a4 %d Aux info 4

SEE ALSO

prtvtoc(1M), prtconf(1M)
 

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