From MAILER-DAEMON Thu May 13 21:30:29 1999
Date: Thu, 13 May 1999 21:30:29 -0400 (CST)
From: Mail System Internal Data <MAILER-DAEMON@profc.udec.cl>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
X-IMAP: 0926645429 0000000000
Status: RO

This text is part of the internal format of your mail folder, and is not
a real message.  It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.

From sram@profc.udec.cl Thu May 13 15:59:07 1999 -0400
Status: R
X-Status: 
X-Keywords:
Received: from mail11.digital.com (mail11.digital.com [192.208.46.10])
	by toqui.profc.udec.cl (8.9.2/8.9.2) with ESMTP id PAA06071
	for <sram@profc.udec.CL>; Thu, 13 May 1999 15:58:45 -0400 (CST)
From: alan@nabeth.cxo.dec.com
Received: from nabeth.cxo.dec.com (nabeth.cxo.dec.com [16.82.16.67])
	by mail11.digital.com (8.9.2/8.9.2/WV2.0g) with SMTP id QAA28736
	for <sram@profc.udec.CL>; Thu, 13 May 1999 16:02:00 -0400 (EDT)
Received: by nabeth.cxo.dec.com (5.65/fma-100391);
	id AA17252; Thu, 13 May 1999 14:01:30 -0600
Message-Id: <9905132001.AA17252@nabeth.cxo.dec.com>
To: Salvador Ramirez <sram@profc.udec.CL>
Subject: Re: List of installed hardware from OS? 
In-Reply-To: Your message of "Thu, 13 May 99 15:33:40 EDT."
             <Pine.OSF.4.05.9905122204490.1228-100000@toqui.profc.udec.cl> 
Date: Thu, 13 May 99 14:01:24 -0600
X-Mts: smtp


	There's nothing included in the base system that provides
	all the information you might like to have.  You can see
	what devices were configured when the system booted by
	looking at /var/adm/messages or formatting the error log
	to get the boot messages (record type 300).  This may not
	be all the devices on the system, since the kernel has to
	be configured to recognize adapters and controllers.

	Not all the devices may have special files, so you can't
	rely on those as a single source for the information.

	There is a programming interface to get the kernel's view
	of the configuration; getsysinfo.  You can use this to get
	the bus structures, then controllers and finally devices.
	It doesn't provide much detail, but you can get a pretty
	good view of what the system sees using it.

	Particular to the SCSI driver, you can use the scu(8) command
	to see what is on each bus.  If a particular bus can be changed
	without shutting down the system (HSZ array controllers, Storage-
	Works shelves), you can even scan a given to see what new
	devices are present.  The SCSI and RAID manual pages will
	explain how devices are named.  The short version is:

	Disks

		/dev/[r]rz[a-h]#[a-h]

	The leading [r] of the name distinguishes raw device from
	block devices.  The "rz" indicates a SCSI disk.  The first
	[a-h] is most often used for array controller that can
	present multiple logical units for each target-id.  The
	correspondence is:

		a = LUN 0
		b = LUN 1
		c = LUN 2
		and so on

	You'll often see the LUN letter left off for LUN 0 devices.
	The # is the unit number and found from (bus * 8) + target-id.
	Bus numbering starts at zero.  The final [a-h] is the partition
	letter and nothing to do with SCSI addressing.  Examples:

		/dev/rrz5c,  Bus 0, target 5, LUN 0, partition C
		/dev/rrza5c, Bus 0, target 5, LUN 0, partition C
		(these happen to be the same)

		/dev/rrzh16c, Bus 2, target 0, LUN 7, partition C

	Tapes.

		/dev/rmt#{a,h,l,m}

	Digital UNIX (DEC OSF/1, Tru64 UNIX) supports two tape drivers
	which use the same naming convention for device names; SCSI
	and TMSCP.  Tapes names are assigned sequentially in order of
	creation.  The convention to create names with MAKEDEV is
	much the same as for disks:

		tz#, where # = bus * 8 + target-id

	As far as I've been able to tell MAKEDEV can't create tape
	special files for non-LUN 0 devices.  However, scsimgr on
	V4 (which is run at startup) will.  The set of letters after
	the unit number indicates the density.  The "tz" manual
	page has all the letter/density translations.

	Media changers.

	The CLC Media Changer driver uses the convention:

		/dev/mc#[a-h]

	The # is the unit number just as for disks.  The trailing
	[a-h] indicates the logical unit.  For LUN 0 devices you
	can leave off the letter.

	Optical devices.

	The CLC Optical driver uses the same convention as for
	disks but uses "op" instead of "rz".

	There are no drivers for other devices available from
	Compaq. 

