From owner-freebsd-questions@FreeBSD.ORG Tue Oct 24 18:18:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8366616A415 for ; Tue, 24 Oct 2006 18:18:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 323AE43D53 for ; Tue, 24 Oct 2006 18:18:45 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id k9OIIipZ070357; Tue, 24 Oct 2006 13:18:44 -0500 (CDT) (envelope-from dan) Date: Tue, 24 Oct 2006 13:18:44 -0500 From: Dan Nelson To: James Smallacombe Message-ID: <20061024181844.GD53901@dan.emsphone.com> References: <453E36F5.70102@mikestammer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 6.2-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: Copying binaries to new server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 18:18:45 -0000 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 > > 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@allantgroup.com