From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21446 invoked from network); 10 Dec 1999 21:50:51 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Dec 1999 21:50:51 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA03269 for ; Fri, 10 Dec 1999 16:50:50 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Fri, 10 Dec 1999 15:56:13 -0600 Received: by paralleldata.com from paralleldata.com (209.186.229.151::mail daemon; unverified,SLMail V2.5); Fri, 10 Dec 1999 15:56:10 -0600 Sender: "Wsb" Message-ID: <385174D6.3209B609@paralleldata.com> Date: Fri, 10 Dec 1999 15:47:02 -0600 From: "Wes Bauske" Organization: Parallel Data Systems Inc. X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Unidentified subject! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Dr. David Gilbert" wrote: > > On Fri, 10 Dec 1999, Joachim De Beule wrote: > > > Hello, > > > > Can somebody tell me where I can find documentation on the drivers /dev/st0 and > > /dev/nst0 ? > > Well I was hoping that there should be a manual on 'st' in section 4 - but > at least on this system it is missing - hmm. > > But there isn't much to it for most jobs; st0 is the first SCSI tape > drive. st0 rewinds the tape after it is closed, nst0 doesn't. > You can write directly to either device using tar or most other things you > fancy. > > The 'mt' program is used to control the tape (rewind, eject, forward wind, > change some parameters). There is a manual page for that. > > The trick to remember is that you have multiple things on the tape then > you must use nst0 - because: > > tar -cvf /dev/st0 stuff > tar -cvf /dev/st0 morestuff > > will not work since after the first tar closes st0 it will rewind the > tape, so instead you do: > > tar -cvf /dev/nst0 stuff > tar -cvf /dev/st0 morestuff > > Similarly using mt to wind the tape on st0 is pretty useless since the > tape always gets rewound after mt exits! > All this is true of command line programs but one can also write your own program to do pretty much whatever you like. Then, you need to know about the ioctl()'s that make tape drives do useful things. "man st" does work on my systems and explains what you can do. I use tape drives extensively on my Alphas and they work fine. I've read very large blocks with a little kernel massaging... (14MB) Wes