unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



ddr_config(8)							ddr_config(8)



NAME

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

SYNOPSIS

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

OPTIONS

  -c [filename]
      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
      ddr.dbase(4).

  -s type vendor_id [product_id	[revision]]
      Displays the contents of the /etc/ddr.db database	for the	specified
      SCSI device. The display is to standard output.

      The 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

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

      The 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 charac-
      ters.

  -g global_section
      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):


       partitions
       densities

  -h  Displays the ddr_config help information.

  -x MACHINE
      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.

DESCRIPTION

  Dynamic Device Recognition (DDR) is a	framework for describing the operat-
  ing parameters and characteristics of	SCSI devices to	the SCSI CAM I/O sub-
  system.  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.

				     Note

       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 ddr.dbase(4).

  The /etc/ddr.dbase text database file	is initially populated on the
  software distribution, and is	used when the system is	booted at installa-
  tion.	 After the initial installation, you determine when this text data-
  base 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.

ERRORS

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

EXAMPLES

  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)

FILES

  /etc/ddr.db
      Binary database of SCSI device definitions

  /etc/ddr.dbase
      Text database of SCSI device definitions



SEE ALSO

  Files: ddr.dbase(4)