/dev/nst0 and tar

/dev/nst0 and tar

Post by John Timmer » Tue, 23 Jan 1996 04:00:00




> What *is* /dev/nst0?
> Every time I try to extract with tar, it says "device /dev/nst0 does
> not exist: or something : I actually checked, and the "file" /dev/nst0
> does exist. I am using kernel slackware 1.2.13, and am fairly new at
> Linux.

> Thanx in advance,

> /s/ Barry Fam

>    _    _    __    _     ____
> +-/ \--/ \--/  \--/ \---/    \----------------------------+
> | | |  | | | /\_| | |   | /\ |         Barry Fam          |


> +--\____/---\__/--\___/-\_/\_/----------------------------+
>         ______________
>        /| Go Bruins! |\  "...If you can fill the unforgiving
>      __\--------------/__  minute with sixty seconds worth of
>      >___)          (___<   distance run..."
>            UCLA 89
>          Arkansas 78                    -Rudyard Kipling, "If"

Hello, I'm not positve on this, but you might try compiling your kernel with
support for the app or hardware that requires this device driver...
--
...my other signature is illegible...


 
 
 

/dev/nst0 and tar

Post by Barry F » Wed, 24 Jan 1996 04:00:00


What *is* /dev/nst0?
Every time I try to extract with tar, it says "device /dev/nst0 does
not exist: or something : I actually checked, and the "file" /dev/nst0
does exist. I am using kernel slackware 1.2.13, and am fairly new at
Linux.

Thanx in advance,

/s/ Barry Fam

   _    _    __    _     ____
+-/ \--/ \--/  \--/ \---/    \----------------------------+
| | |  | | | /\_| | |   | /\ |         Barry Fam          |


+--\____/---\__/--\___/-\_/\_/----------------------------+
        ______________
       /| Go Bruins! |\  "...If you can fill the unforgiving
     __\--------------/__  minute with sixty seconds worth of
     >___)          (___<   distance run..."
           UCLA 89
         Arkansas 78                    -Rudyard Kipling, "If"

 
 
 

/dev/nst0 and tar

Post by daniel singh » Wed, 24 Jan 1996 04:00:00


: What *is* /dev/nst0?

its some kind of "default" tape drive

: Every time I try to extract with tar, it says "device /dev/nst0 does
: not exist: or something : I actually checked, and the "file" /dev/nst0
: does exist. I am using kernel slackware 1.2.13, and am fairly new at
: Linux.

well, its listed in /dev, yeah.  but that doesnt really mean much.  when
it says "/dev/nst0: file does not exist" what it is really saying is that
the device nst0 doesnt exist, and it may well not.

if you want to de-tar without the tape drive (ie -- a file) then:
tar -xf file.tar

the x is eXtract and the f is for File

: Thanx in advance,

hiope that helped some

 
 
 

/dev/nst0 and tar

Post by Chuck Mart » Sun, 28 Jan 1996 04:00:00



> What *is* /dev/nst0?
> Every time I try to extract with tar, it says "device /dev/nst0 does
> not exist: or something : I actually checked, and the "file" /dev/nst0
> does exist. I am using kernel slackware 1.2.13, and am fairly new at
> Linux.

/dev/nst0 is a tape drive, which is the default target location for tar
(tar stands for Tape ARchive).  You need to specify a different file with
the -f option.  Use man tar for details on how to use tar.

Chuck

 
 
 

/dev/nst0 and tar

Post by Peter Jurge » Sun, 28 Jan 1996 04:00:00





>> What *is* /dev/nst0?
>> Every time I try to extract with tar, it says "device /dev/nst0 does
>> not exist: or something : I actually checked, and the "file" /dev/nst0
>> does exist. I am using kernel slackware 1.2.13, and am fairly new at
>> Linux.

>> Thanx in advance,

>> /s/ Barry Fam

>>    _    _    __    _     ____
>> +-/ \--/ \--/  \--/ \---/    \----------------------------+
>> | | |  | | | /\_| | |   | /\ |         Barry Fam          |


>> +--\____/---\__/--\___/-\_/\_/----------------------------+
>>         ______________
>>        /| Go Bruins! |\  "...If you can fill the unforgiving
>>      __\--------------/__  minute with sixty seconds worth of
>>      >___)          (___<   distance run..."
>>            UCLA 89
>>          Arkansas 78                    -Rudyard Kipling, "If"

>Hello, I'm not positve on this, but you might try compiling your kernel with
>support for the app or hardware that requires this device driver...

I just happen to have run into this problem myself. I also am new to Linux.
The default archive file is /dev/rmt0. You'll see that this is linked to
/dev/nst0. What you need to do is include the -f switch

      tar -xfv filename

Where filename is the archive file that you wish to expand (-x).
The -v is the verbose switch. Throw it in for good measure.

-----------------------------------------------------------------------
*                   | "I don't see much sense in that," said Rabbit   *
*  Peter A. Jurgens | "No," said Pooh humbly, "there isn't. But there *
*    eskimo.com     | was going to be when I began it. It's just that *
*                   | something happened to it on the way."           *
-----------------------------------------------------------------------