From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,f6b67fe5f5caf6b0 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-11-13 10:36:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!nabeth.cxo.cpqcorp.net!alan Newsgroups: comp.unix.tru64 From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world References: <1n82vtccrmispf7o5t48lkmvau9k1f6t89@4ax.com> Reply-To: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: tape device numbering scheme? Message-ID: Date: Tue, 13 Nov 2001 18:36:08 GMT NNTP-Posting-Host: 16.112.5.128 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1005676568 16.112.5.128 (Tue, 13 Nov 2001 10:36:08 PST) NNTP-Posting-Date: Tue, 13 Nov 2001 10:36:08 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:5798 In article <1n82vtccrmispf7o5t48lkmvau9k1f6t89@4ax.com>, Axel K�ster 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)