: >: Hi. I'm running into a brick wall. I have some tar.gz files.
: >: I got them gunzipped, but when I try to tar -x them, I get
: >: cannot open /dev/nst0...device not installed
: >: I've wandered over to /dev. There is indeed a /nst0. What do I
: >: need to do install it?
: >Where do you have them, on tape or on file?
: >I think you have them as file. Try "tar ftzv <your-tar-file>.tar.gz" and if
: >that suits you the same with fxz.
: I had the same error... this fixes it:
: make -f the last letter. It expects a file name after f. Like
: tar -tzvf tarfile.tar.gz
: I believe that will do it.
Not to critize but you all need to get the fundamentals straight here.
Tar, by default, looks for a tape device (/dev/nst0) but more often that
not, you need to expand a tar archive on a file. This is done in the
tar xf filename.tar OR
tar zxf filename.tar.gz if the TAR is gzipped and you are using GNU TAR.
The x is for extract, the f is for file and the z is for gzipped. You
can add other features such at exchanging the x for a c (create) like this:
tar zcf filename.tgz /home
This will make a gzipped TAR archive of your /home directory structure.
By using t (test) instead of x or c, you can test a TAR archive. BTW,
you can find out all of this info in the TAR man page. Any questions?
*Warning-- Linux should not be used by those under the influence of M$. May
cause dizziness or vertigo. Consult your tech support before
using Linux. (note--after using Linux, you may notice extreme
discomfort when using M$. Discontinue use of M$ and continue
steady doses of Linux.
http://ALLISON152.HALLS.ColoState.EDU/UNIX/ for UN*X question/answer files.