*BSD News Article 73706


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Post-installation Housekeeping Error
Date: 14 Jul 1996 10:41:41 -0000
Organization: A FreeBSD Box
Lines: 33
Message-ID: <4sait5$sf@jraynard.demon.co.uk>
References: <4s9o34$bql@newsbf02.news.aol.com>
NNTP-Posting-Host: localhost
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <4s9o34$bql@newsbf02.news.aol.com>,
Ngocquynh <ngocquynh@aol.com> wrote:
>Pleae help me! I was following the instructions on page 59 of the
>installing and
>running BSD manual (by Greg Lehey) to create a symbolic link /var to point
>to /usr/var. 
>
>When I issued the command 
>
>tar cf - . | (cd /usr/var; tar xf - ),
>
>I got the error message "tar: unknown option. Use `tar --help' for a
>complete
>list of options." What's the deal here? I typed it exaclty as the manual
>says!

It looks perfectly all right to me (assuming you didn't type the comma
at the end - but even if you had, you would have got an error from the
shell, not tar).  All I can suggest is that you must have made a
mistake somewhere - try again!

Perhaps it would be a good idea to break it down into something
simpler:-

cd /some/where
tar cf var.tar /var
cd /usr/var
tar xf /some/where/var.tar

-- 
James Raynard, Edinburgh, Scotland
james@jraynard.demon.co.uk
http://www.freebsd.org/~jraynard/