Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Adam Price" <adam+usenet@pappnase.demon.co.uk>
Subject: Re: Adding a new disk and SCSI controller
Date: 1999/07/27	[thread overview]
Message-ID: <933086402.18237.0.nnrp-12.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: 379D5F42.2781@dnr.qld.gov.au


Keith Moodie wrote in message <379D5F42.2781@dnr.qld.gov.au>...
>Hi,

Hi,
<Snip>
>
>My problem is how do I find out what /dev/rz... to MAKEDEV
>
>
>Devices on the 1st SCSI controller as shown by scu are
>
>scu> scan edt
>Scanning all available buses, please be patient...
>show scu> edt
>
>CAM Equipment Device Table (EDT) Information:
>
>    Device: CD-ROM XM-6102B Bus: 0, Target: 0, Lun: 0, Type: Read-Only
>Direct Access
>    Device: RZ1CC-BA   Bus: 2, Target: 0, Lun: 0, Type: Direct Access
<SNIP>

The calculation for X in MAKEDEV rzX is
Bus * 8 + Target

eg.
the atapi cd-rom drive is on bus 0 target 0
Therefore  to make special device file for
cd= rz(0*8+0) = rz0 therefore in /dev , ./MAKEDEV rz0

Second eg.
Hard Drive type RZ1CC-BA = rz(2*8+0) = rz16

Hope this helps
Adam






  parent reply	other threads:[~1999-07-27  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-27  4:00 Adding a new disk and SCSI controller Keith Moodie
1999-07-27  4:00 ` Adding a new disk and SCSI controller - extra info Keith Moodie
1999-07-27  4:00 ` Adding a new disk and SCSI controller John Hill
1999-07-27  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-07-27  4:00 ` Adam Price [this message]
1999-07-27  4:00   ` Adam Price
1999-07-29  4:00 ` Keith Moodie
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox