Content-type: text/html Man page of ddr_config


Section: Maintenance Commands (8)
Index Return to Main Contents


ddr_config - Compile and display the SCSI CAM I/O device database  


/sbin/ddr_config [-flag] [argument...]  


Compiles the /etc/ddr.db binary database file from the input filename. If no input file is specified, the /etc/ddr.dbase file is used as the default. The input filename must use the syntax rules specified in Displays the contents of the /etc/ddr.db database for the specified SCSI device. The display is to standard output.

type is the device type, one of the following strings or integer values: String:                 Integer:
------- -------- disk 0 tape 1 printer 2 processor 3 worm 4 rodirect, cdrom 5 scanner 6 optical 7 changer 8 comm 9

vendor_id is the string that defines the vendor's id for the device. Be sure to exactly quote the vendor's id in the string, including the correct number of space characters, if needed.

product_id and revision are optional strings for the vendor's name for the product and its revision (or version) number. If used, be sure to exactly quote them, including the correct number of space characters. Displays the database contents for a global_section. Enter one of the following global section names (only the first three characters are checked by the compiler): Displays the ddr_config help information. Processes the /sys/data/cam_data.c file, and writes to standard output. The output is a summary of additions and modifications that you should make to the /etc/ddr.dbase file in order to synchronize it with the /sys/data/cam_data.c file.

The MACHINE parameter must be specified, and it must be the name of your machine's system configuration file, the file you used to build your current system. The MACHINE system configuration file supplies the machine-specific information that the -x option uses to produce the output summary. Use this option as an aid to propagating customized SCSI device information into the dynamic device recognition database.


Dynamic Device Recognition (DDR) is a framework for describing the operating parameters and characteristics of SCSI devices to the SCSI CAM I/O subsystem. You use a utility, /sbin/ddr_config, and a text database, /etc/ddr.dbase, to make changes to the subsystem after installation and without rebooting.

This dynamic device recognition capability replaces the static methods of device recognition that have been employed by using the compiled-in device table, /sys/data/cam_data.c. SCSI devices in the /sys/data/cam_data.c file are supported for this release of the operating system, but support will be withdrawn in a future release.

Use the /sbin/ddr_config utility to compile new versions of the device definition binary database. If you use the utility to compile customized databases, be sure to follow the syntax rules specified in

The /etc/ddr.dbase text database file is initially populated on the software distribution, and is used when the system is booted at installation. After the initial installation, you determine when this text database needs to be changed. Then, you edit the /etc/ddr.dbase file to make the changes and then use the /sbin/ddr_config utility to compile the changes.

The /sbin/ddr_config utility places the output in the /etc/ddr.db binary database file and notifies the kernel that the device database has been modified. The kernel then synchronizes its in-memory device tables with the definitions in the /etc/ddr.db binary database file.  


The following two examples show how the command can be used to display the partition table defaults and the tape density table from the global section of the /etc/dbase file. # ddr_config -g par Recommended Partition Table Defaults:
  Partition_A_Size   :     64 MBytes
  Partition_B_Size   :    128 MBytes
  Partition_G_Size   :    400 MBytes
  Min_Partition_Size :     50 MBytes # ddr_config -g den SCSI Density Code Translation Table:
    Density Code      Density BPI   Blocking   Name
        0x00                   0          0    default
        0x01                 800          0    800r_bpi
        0x02                1600          0    1600r_bpi
        0x03                6250          0    6250r_bpi
        0x04                8000          0    8000c_bpi
        0x05                8000          0    8000r_bpi
        0x06                3200          0    3200r_bpi
        0x07                6400          0    6400c_bpi
        0x08                8000          0    8000cs_bpi
        0x09               38000          0    38000c_bpi
        0x0a                6666          0    6666c_bpi
        0x0b                1600          0    1600c_bpi
        0x0c               12690          0    12690c_bpi
        0x0d               10000        512    qic120_ecc
        0x0e               10000        512    qic150_ecc
        0x0f               10000        512    qic120
        0x10               10000        512    qic150
        0x11               16000          0    qic320
        0x12                   0          0    qic1350
        0x13               61000          0    61000_bpi
        0x14               54000          0    54000_bpi
        0x15               45434          0    45434_bpi
        0x16               10000          0    10000_bpi
        0x17               42500          0    42500_bpi
        0x18               42500          0    density_code_18
        0x19               62500          0    62500_bpi
        0x1a               81630          0    81630_bpi
        0x1b                   0          0    density_code_1b
        0x1c                   0          0    density_code_1c
        0x1d                   0          0    density_code_1d
        0x1e               36000          0    36000_bpi
        0x1f                   0          0    density_code_1f
        0x20                   0          0    density_code_20
        0x21                   0          0    density_code_21
        0x22               40640          0    40640_bpi
        0x23                   0          0    density_code_23
        0x24               61000          0    density_code_24
        0x25                   0          0    density_code_25
        0x26                   0          0    density_code_26
        0x27                   0          0    density_code_27
        0x28                   0          0    density_code_28
        0x29                   0          0    density_code_29
        0x2a                   0          0    (None)
        0x2b                   0          0    (None)
        0x2c                   0          0    (None)
        0x2d                   0          0    (None)
        0x2e                   0          0    (None)
        0x2f                   0          0    (None)  


The compiler returns syntax errors to the standard output device. An output file is not produced if there are syntax errors.  


Binary database of SCSI device definitions Text database of SCSI device definitions  


Files: ddr.dbase(4) delim off




This document was created by man2html, using the manual pages.
Time: 02:40:42 GMT, October 02, 2010