diskcfg(1M) diskcfg(1M)
NAME
diskcfg - update system files for PDI drivers
SYNOPSIS
/etc/scsi/diskcfg [-S] [-R ROOT] [filename]
DESCRIPTION
diskcfg generates System files for the Portable Device
Interface (PDI) drivers from information provided. It reads
input from the provided file, or from stdin if a file is not
provided, and generates a new PDI configuration based on the
information. The input provided describes the PDI drivers to
be turned on and off, and must exactly match the required
format or diskcfg will fail. diskcfg is intended for use with
the pdiconfig(1M) command or any command producing similar
output.
Options
diskcfg takes the following options:
-S Turns on the Debug messages.
-R ROOT Uses this value instead of / for the root of a
kernel source tree.
filename Read input from filename instead of from standard
input.
Input
The format of the input for diskcfg is:
driver name
long driver name
driver type
configure flag
unit number
dma channel 1
dma channel 2
ipl level
interrupt vector
interrupt sharing flag
starting I/O address
ending I/O address
starting memory address
ending memory address
cpu binding
Copyright 1994 Novell, Inc. Page 1
diskcfg(1M) diskcfg(1M)
Each field must have a value present, and the input must be
tab separated. Each input line represents one PDI device.
Note that diskcfg does not use the shell variable ROOT from
the user environment as its starting path. You can specify a
value for ROOT by using the -R option. The -R option should
not be used except for the special case of kernel development
in a non-root source tree.
Return Values
On success, diskcfg exits with a return value of 0. On
failure, it returns a non-zero code.
USAGE
diskcfg is an administrative command and must be run in single
user mode. See init(1M) for information on switching the
machine to single user mode.
Any loadable target drivers, such as st01(7), sc01(7), or
sw01(7), that deal with PDI devices, must be demand loaded
before executing diskcfg. See modadmin(1M) for information on
loading loadable drivers.
Files
/etc/scsi/diskcfg
/dev/resmgr
/stand/resmgr
REFERENCES
disk.cfg(4), init(1M), modadmin(1M), pdiadd(1M),
pdiconfig(1M), pdirm(1M)
Copyright 1994 Novell, Inc. Page 2