From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: tape device numbering scheme?
Date: Tue, 13 Nov 2001 18:36:08 GMT [thread overview]
Message-ID: <sKdI7.1522$RL6.48882@news.cpqcorp.net> (raw)
In-Reply-To: 1n82vtccrmispf7o5t48lkmvau9k1f6t89@4ax.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]
In article <1n82vtccrmispf7o5t48lkmvau9k1f6t89@4ax.com>, Axel K�ster <a.kuester@ostalb.netsurf.de> writes:
>I have a DS20 with True64 4.0G. When booting the system I find the tape at
>mkd400. When coming up to standalone, I want to make the special devices for the
>tape. As I remeber, the formula was BUS-IDx8+SCSI-ID of the device. But this
>failed. During bootup I found a message regarding a tz44, which workes fine.
>
>But: What is the numbering scheme behind this????
Tape devices have two numbers. One is the internal unit number which
is found from the formula you provide (bus * 8) + scsi-id. This is
what you use to create the special files using MAKEDEV. The other
number is the special file number, which is assigned sequentially
starting at zero; rmt0, rmt1, rmt2, etc.
A "tz44" tape would be one on bus 5, target 4. An MKD400 would be
bus 3 (A = 0, B = 1, C = 2, D = 3) target 4. It would be "tz28".
The boot messages print the internal unit numbers as it identifies
devices, so that's often the best source to get the name to hand
off to MAKEDEV.
>
>Thanks for help,
>
>Axel
>
--
Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)
next prev parent reply other threads:[~2001-11-13 18:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-13 13:45 tape device numbering scheme? Axel K�ster
2001-11-13 16:05 ` Oisin McGuinness
2001-11-13 18:36 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2001-11-14 20:46 ` Alain MARTIN
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