Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* (no subject)
@ 1999-12-10 13:26 Joachim De Beule
  1999-12-10 13:40 ` Unidentified subject! Dr. David Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: Joachim De Beule @ 1999-12-10 13:26 UTC (permalink / raw)
  To: axp-list

Hello,

Can somebody tell me where I can find documentation on the drivers /dev/st0 and
/dev/nst0 ?


I'm posting this here because I thought I saw a discussion about  these drivers.

Thanks.

-- 
Joachim De Beule
RUG - Regeltechniek en Automatisering,
Technologiepark 9,
B-9052 Zwijnaarde, Belgie.
Tel: +32 9 264 55 81


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unidentified subject!
  1999-12-10 13:26 Joachim De Beule
@ 1999-12-10 13:40 ` Dr. David Gilbert
  1999-12-10 21:47   ` Wes Bauske
  0 siblings, 1 reply; 4+ messages in thread
From: Dr. David Gilbert @ 1999-12-10 13:40 UTC (permalink / raw)
  To: Joachim De Beule; +Cc: axp-list

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            |
\------------------------------------------------------------------/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unidentified subject!
  1999-12-10 13:40 ` Unidentified subject! Dr. David Gilbert
@ 1999-12-10 21:47   ` Wes Bauske
  1999-12-10 22:11     ` Edward Lukacs
  0 siblings, 1 reply; 4+ messages in thread
From: Wes Bauske @ 1999-12-10 21:47 UTC (permalink / raw)
  To: axp-list

"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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unidentified subject!
  1999-12-10 21:47   ` Wes Bauske
@ 1999-12-10 22:11     ` Edward Lukacs
  0 siblings, 0 replies; 4+ messages in thread
From: Edward Lukacs @ 1999-12-10 22:11 UTC (permalink / raw)
  To: axp-list

There's a pretty good four pages in Sams' (Red Hat's) Linux Complete
Command Reference, pages 1096 to 1100.  If it's Red Hat, perhaps
you might find it on line?

Hope this helps.

Ed Lukacs

> 
> "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
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 
> 


--

    _/_/_/_/   _/_/    _/  _/   | Edward M. Lukacs  
   _/         _/ _/ _/_/  _/    | US Naval Observatory
  _/_/_/     _/  _/  _/  _/     | 3450 Massachusetts Avenue, NW 
 _/         _/      _/  _/      | Washington, DC 20007
_/_/_/_/   _/      _/  _/_/_/_/ | Phone: 202-762-0291 DSN: 762-0291



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-10 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-10 13:26 Joachim De Beule
1999-12-10 13:40 ` Unidentified subject! Dr. David Gilbert
1999-12-10 21:47   ` Wes Bauske
1999-12-10 22:11     ` Edward Lukacs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox