From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5388 invoked from network); 10 Dec 1999 13:41:17 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Dec 1999 13:41:17 -0000 Received: from bastion.power-x.co.uk (bastion.power-x.co.uk [62.232.19.201]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA03664 for ; Fri, 10 Dec 1999 08:41:14 -0500 Received: from springhead.px.uk.com (IDENT:dg@springhead.px.uk.com [172.16.18.41]) by bastion.power-x.co.uk (8.9.3/8.9.3) with ESMTP id NAA25968; Fri, 10 Dec 1999 13:40:59 GMT Date: Fri, 10 Dec 1999 13:40:36 +0000 (GMT) From: "Dr. David Gilbert" X-Sender: dg@springhead.px.uk.com To: Joachim De Beule cc: axp-list@redhat.com Subject: Re: Unidentified subject! In-Reply-To: <99121014281609.09863@asterix.autoctrl.rug.ac.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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! Dave /------------------------------------------------------------------\ | Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258| | -------- G7FHJ --------|---------------------------------------- | | Home: dave@treblig.org http://www.treblig.clara.net | \------------------------------------------------------------------/