Greetings, Thanksn a lot for the replies. I did not test all the options but i am attaching the response with explanation which worked for me. Problem I am having problem in copying dir from one computer to another. Here is the error UFSDUMP ufsdump 0f - |rsh viper `(cd /export/home/sama; ufsrestore xf -)` Usage: ufsdump [0123456789fustdWwnDCcbavloS [argument]] filesystem Volume is not in dump format tcgetattr: Invalid argument ioctl I_PUSH ttcompat: No such device or address TAR tar cvfb - 20 /export/home/sama |rsh viper `(cd /export/home/sama;tar xvfBbp - 20)` tar: blocking factor must be specified with 'b' option Usage: tar {txruc}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exc lude-file] [-I include-file] files ... a /export/home/sama/ 0K a /export/home/sama/.profile 1K a /export/home/sama/.sh_history 1K a /export/home/sama/mkvol01.out 1K a /export/home/sama/mkvol01.sh 1K a /export/home/sama/mkvol02.sh 1K a /export/home/sama/mkvol02.out 1K tcgetattr: Invalid argument ioctl I_PUSH ttcompat: No such device or address Please advice. Solution The "cv" can't work, you're feeding garbage into the rsh, where the tar x will see it. Right? Lose the block factors, they're not doing you any good since you're going over the net, not to a tape drive. The tar c has is rooted (starts with "/"), don't do this! Backticks and parens on the rsh side again. The tar x doesn't need B, that's on by default with "f -". Doesn't do any harm, though. Don't use the v option at all, you want to see if there are errors. You may have problems on viper's .cshrc; can you do a: % rsh viper echo '' % ...and get exactly *nothing* in reply (except a newline and new prompt)? That's what you want. Try something like: % cd /export/home % tar cf - sama | rsh viper "cd /export/home; tar xfp -" Don't use the "p" option unless you're running as root, it will get you into trouble if you have any write-protected directories. -- Jay Lessert jay_lessert@accelerant.net Accelerant Networks Inc. (voice)1.503.439.3461 Beaverton OR, USA (fax)1.503.466-9472 Thanks again. Sama __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/Received on Tue Aug 14 18:36:29 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:25:01 EDT