pdimkdev(1M) pdimkdev(1M)
NAME
pdimkdev - generate device nodes for Portable Device Interface
(PDI) subsystem
SYNOPSIS
/etc/scsi/pdimkdev [-fis] [-d filename]
DESCRIPTION
pdimkdev(1M) reads the Equipped Device Table (EDT) built by
the PDI drivers and makes any device nodes needed for access
to the disk, tape, and SCSI controllers that are present on
the system. Since the device nodes that are created for each
device are unique to that device type, template files are used
to specify the device naming conventions. The location of the
template files is specified in a target controller index file,
which may be supplied as a command line argument. By default,
any time a new device is detected, a message is printed on
standard output describing the device.
pdimkdev keeps a record of the EDT from invocation to
invocation in /etc/scsi/pdi_edt. If the EDT obtained by
pdimkdev during execution is identical to the one in
/etc/scsi/pdi_edt, no action is taken and pdimkdev exits. If
the EDT has changed since the last invocation, pdimkdev checks
every node for every device in the EDT and creates any missing
nodes.
Options
pdimkdev takes the following options:
-f Forces pdimkdev to run at a time other than from
init(1M). pdimkdev is designed to be run from init; to
force its execution at any other time, you must use the
-f option.
-i Forces pdimkdev to ignore the existing record of this
machine's configuration in /etc/scsi/pdi_edt and update
all PDI device nodes, as if a new device had been added
to the system.
-s Suppress the standard output message from pdimkdev
indicating that new device nodes were just created for a
device.
Copyright 1994 Novell, Inc. Page 1
pdimkdev(1M) pdimkdev(1M)
-d filename
Use filename instead of /etc/scsi/tc.index to determine
which template file to use for each device.
Files
/etc/scsi/mkdev.d/*
/etc/scsi/pdi_edt
/etc/scsi/tc.index
Return Values
On success, pdimkdev exits with a return code of zero when it
detects new devices on the system. If there are no new
devices since the last time pdimkdev was executed, it exits
with a positive return code. If an error is detected, it
exits with a negative return code.
REFERENCES
init(1M), pdimkdtab(1M)
Copyright 1994 Novell, Inc. Page 2