Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: What is /dev/sr0?
Date: Wed, 24 Jun 1998 17:08:33 +0200	[thread overview]
Message-ID: <199806241508.RAA03160@stefan.sime.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980624103623.23223A-100000@mail.flarc.edu.on.ca> (message from Steve Frampton on Wed, 24 Jun 1998 10:40:58 -0400 (EDT))

Hi Steve !

> For some reason I tried to do a 'tar zcvf /dev/sr0 *' and -- things
> started getting copied -- about 5 Mb of stuff before I noticed the tape
> drive wasn't spinning, so I aborted.
> 
> If I do a 'tar ztvf /dev/sr0' I see all the files that got tarred before I
> aborted.  I removed the tape from the drive and tried again -- yep, there
> they are again!
> 
> I was just wondering what this device is -- a ramdisk, perhaps? -- and if
> I might have done something bad.  :-(

On old systems /dev/sr* are the SCSI-CDROM's. But if tar is working 
that way, your should do a ls -l /dev/sr0 and check the major number
against /usr/src/linux/Documentation/devices.{txt,tex}

For tape access, /dev/nst0 and /dev/st0 may work, the later one
performs a rewind on close; but I'm shure that you know that.

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


      parent reply	other threads:[~1998-06-24 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-24 14:40 What is /dev/sr0? Steve Frampton
1998-06-24 14:57 ` Paul Tomblin
1998-06-24 15:08 ` Quant-X Alpha Linux Support [this message]
read-only archive

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