Article View: comp.os.linux.help
Article #284Re: Error when running tar command
From: OZAWA Sakuro
Date: Mon, 17 Oct 1994 07:33
Date: Mon, 17 Oct 1994 07:33
33 lines
2065 bytes
2065 bytes
In article <37t68i$1ui@wsclark.huie.hokudai.ac.jp>, aksa@hudk.hokudai.ac.jp (Aksanul Fardhi) writes: Aksanul> Hi folks, Aksanul> Anybody knows what the meaning of this error message is? Aksanul> tar: can't open /dev/rmt0 : No such device or address Aksanul> I was trying to uncompress a file with 'tar' command when this error Aksanul> message appeared. Please tell me how to fix it. Unless you specify the name of the archive file, tar uses /dev/rmt0 as default. You can specify it explicitly via 'f' option. Also, if it was compressed, you must uncompress it first. Native tar cannot uncompress so you must use this command. % zcat foo.tar.Z | tar x(v)f - # (- means stdin) or % gnuzip -c foo.tar.gz | tar x(v)f - (NOTE: 'gunzip can uncompress both .Z and .gz, and Linux's 'zcat' is equivalent to 'gunzip -c') But Linux's (GNU) tar can call uncompressor by itself. Use 'z' option like % tar x(v)zf foo.tar.gz # sorry, my signature is in Japanese. -- $@!V$$$$?4B!$@!W(J $@!V$h$/8@$o$l$^!<$9!W(J $@>._7:wO:!w@:L)5!3#9)3X2J(J.$@El5~Bg3X(J(ozawa@zzz.pe.u-tokyo.ac.jp)
Technical Details
Message-ID:
<OZAWA.94Oct17163136@ba.zzz.pe.u-tokyo.ac.jp>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!pipex!uunet!news.iij.ad.jp!wnoc-tyo-news!news.u-tokyo.ac.jp!t-server!mech.t.u-tokyo.ac.jp!mech!ozawaReferences:
<37t68i$1ui@wsclark.huie.hokudai.ac.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 10684a,71d84e6c05342e2d X-Google-Attributes: gid10684a,public X-Google-Thread: 100b1f,71d84e6c05342e2d X-Google-Attributes: gid100b1f,public X-Google-ArrivalTime: 1994-10-19 05:30:08 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!pipex!uunet!news.iij.ad.jp!wnoc-tyo-news!news.u-tokyo.ac.jp!t-server!mech.t.u-tokyo.ac.jp!mech!ozawa From: ozawa@zzz.pe.u-tokyo.ac.jp (OZAWA Sakuro) Newsgroups: comp.os.linux.help,fj.os.linux Subject: Re: Error when running tar command Date: 17 Oct 1994 07:33:11 GMT Organization: Tomiyama Lab., Dept. of Precision Machinery Eng., Faculty of Engeneering, Univ. of Tokyo Lines: 33 Distribution: world Message-ID: <OZAWA.94Oct17163136@ba.zzz.pe.u-tokyo.ac.jp> References: <37t68i$1ui@wsclark.huie.hokudai.ac.jp> NNTP-Posting-Host: ba.zzz.pe.u-tokyo.ac.jp In-reply-to: aksa@hudk.hokudai.ac.jp's message of 17 Oct 1994 06:40:18 GMT