Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 12:54:10 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        don@lizardhill.com, freebsd-questions@freebsd.org
Subject:   Re: Copying a file system w/ tar - symbolic links not copied right.
Message-ID:  <44637A42.8030209@daleco.biz>
In-Reply-To: <200605110227.k4B2RItS085960@banyan.cs.ait.ac.th>
References:  <005a01c67498$a54a2a70$0300020a@mickey> <200605110227.k4B2RItS085960@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
Olivier Nicole wrote:
>>  I'm trying to move a file system from one disk to another, and when I do
>> this:
> 
> I think that the way to go is:
> 
> tar cf - /source/* | ( cd /destination && tar xfvBp - )
> 
> Note the Bp at the end of the extract tar.
> 
> olivier

Is that for BSD tar, or gtar (GNU)?  We still haven't decided
which is offering the problem, and I don't find "-B"
described in bsdtar(1), although I can see why you'd want
it in gtar, perhaps.

Nonetheless, the tests I made with both tars didn't seem
to have this problem.  Can Don confirm whether this only occurs
if /source/ is a filesystem mount point?  (Also, which tar
are you using?

KDK

-- 
Computer programs expand so as to fill the core available.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44637A42.8030209>