Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pdimkdtab(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(1M)

modadmin(1M)

pdimkdev(1M)






       pdimkdtab(1M)                                          pdimkdtab(1M)


       NAME
             pdimkdtab - update the device table entries for the Portable
             Device Interface (PDI) subsystem

       SYNOPSIS
             /etc/scsi/pdimkdtab [-fi] [-d filename]

       DESCRIPTION
             pdimkdtab(1M) reads the Equipped Device Table (EDT) built by
             the PDI drivers and updates the device table entries in
             /etc/device.tab for any disk, tape, and SCSI controllers that
             are present on the system.  Since the device table entries
             that are created for each device are unique to that device
             type, template files are used to specify the device table
             entries.  The location of the template files is specified in a
             target controller index file, which may be supplied as a
             command line argument.

             pdimkdtab keeps a record of the EDT from invocation to
             invocation in /etc/scsi/pdi_edt.  If the EDT obtained by
             pdimkdtab during execution is identical to the one in
             /etc/scsi/pdi_edt, no action is taken and pdimkdtab exits.  If
             the EDT has changed since the last invocation of either
             pdimkdev or pdimkdtab, pdimkdtab updates the device table
             entries for every device in the EDT.

          Options
             pdimkdtab takes the following options:

             -f    Forces pdimkdtab to run at a time other than from
                   init(1M).  pdimkdtab is designed to be run from init; to
                   force its execution at any other time, you must use the
                   -f option.

             -i    Forces pdimkdtab to ignore the existing record of this
                   machine's configuration in /etc/scsi/pdi_edt and update
                   /etc/device.tab, as if a new device had been added to
                   the system.

             -d filename
                   Use filename instead of /etc/scsi/tc.index to determine
                   which template file to use for each device.

          Files
             /etc/device.tab
             /etc/scsi/mkdev.d/*


                           Copyright 1994 Novell, Inc.               Page 1













      pdimkdtab(1M)                                          pdimkdtab(1M)


            /etc/scsi/pdi_edt
            /etc/scsi/tc.index

         Return Values
            On success, pdimkdtab 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 either pdimkdev or pdimkdtab were
            executed, it exits with a positive return code.  If an error
            is detected, it exits with a negative return code.

      USAGE
            When pdimkdtab is run immediately after pdimkdev, it must be
            run with the -i option or no updates will take place, because
            the EDT in /etc/scsi/pdi_edt will be the one created by
            pdimkdev and will be up to date.

      REFERENCES
            init(1M), modadmin(1M), pdimkdev(1M)






























                          Copyright 1994 Novell, Inc.               Page 2








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