From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5137b20ce4bc76 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-11-13 10:44:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!sac.uu.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: <4b9e0387.0111130615.7816779f@posting.google.com> Reply-To: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: access a TLZ10-LB tape Message-ID: Date: Tue, 13 Nov 2001 18:44:47 GMT NNTP-Posting-Host: 16.112.5.128 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1005677087 16.112.5.128 (Tue, 13 Nov 2001 10:44:47 PST) NNTP-Posting-Date: Tue, 13 Nov 2001 10:44:47 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:5799 In article <4b9e0387.0111130615.7816779f@posting.google.com>, choefe@gmx.ch (Rolf Huebscher) writes: >I installed a dat-drive TLZ10-LB on a Compaq XP900 Workstation. >On the Workstation is Tru64 4.0f installed. > >in the console the following device seems to be the tape >>>>show dev >mka600.6.0.16.0 MKA600 Compaq SDT-9000 4.05 > > >and in Unix there are this devices. ># scu show edt >CAM Equipment Device Table (EDT) Information: > Device: CRD-8402B Bus: 1, Target: 0, Lun: 0, Type: Read-Only Direct Access > Device: BD009735C6 Bus: 2, Target: 0, Lun: 0, Type: Direct Access > Device: SDT-9000 Bus: 2, Target: 6, Lun: 0, Type: Sequential Access > >But how do i access the tape? It depends on the feature set you want. Most utilities that work with tapes default to /dev/rmt0h, so for most things you don't have to specify any name; just use whatever commands work with tapes. If you want more detailed control, then you have some options. The basic form of a tape name is: [n]rmt#{lmah} where: [n] - The prefix indicating that this is the no-rewind on close. Generally, when a program closes the tape drive, the drive rewind the media. Using one of these names, allows you to read and write multiple tape files. rmt - The general name for a tape device. # - The tape unit number. These are assigned sequentially as tape special files are created; rmt0, rmt1, rmt2, etc. {lmah} - This is the density code. 'h' is the highest density, which for most tape drives is their highest native density with hardware compression turned on. The tz and mtio manual pages will describe the remaining densities. One is the highest native density without compression (probably 'l'). The others depend on the tape drive. In the case of DAT drives, I think density follows the media. If this is the case, then only two of the letters matter; h and whatever is used for non- compression. >The following device files are available. > ># cd /dev ># ls -l *rmt* > >crw-rw-rw- 1 root system 9,38919 Feb 9 2001 nrmt0a >crw-rw-rw- 1 root system 9,38915 Feb 9 2001 nrmt0h >crw-rw-rw- 1 root system 9,38913 Feb 9 2001 nrmt0l >crw-rw-rw- 1 root system 9,38917 Feb 9 2001 nrmt0m >crw-rw-rw- 1 root system 9,38918 Feb 9 2001 rmt0a >crw-rw-rw- 1 root system 9,38914 Feb 9 2001 rmt0h >crw-rw-rw- 1 root system 9,38912 Feb 9 2001 rmt0l >crw-rw-rw- 1 root system 9,38916 Feb 9 2001 rmt0m > > >Thanks for any help > -- Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)