Copying binaries to new server

Dan Nelson dnelson at allantgroup.com
Tue Oct 24 18:18:45 UTC 2006


In the last episode (Oct 24), James Smallacombe said:
> Here's another issue I just ran into while trying to do just that, using tar:
> 
> su-2.05b# tar xpPvfz
> <snip thousands of lines>
> x /usr/lib/libypclnt.so
> x /usr/lib/libalias.a
> x /usr/lib/libalias.so
> x /usr/lib/libarchive.a
> x /usr/lib/libarchive.so.2Bus error: 10 (core dumped)
> 
> I take it the core dump occured because I was trying to overwrite a lib that
> was in use by tar, right?  Is there a good way around this?

You can try the -U option, which will unlink existing files before
creating the new version.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list