From owner-freebsd-questions@FreeBSD.ORG Fri Oct 9 06:52:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 078231065695 for ; Fri, 9 Oct 2009 06:52:48 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id BFD338FC27 for ; Fri, 9 Oct 2009 06:52:47 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n996qjEM028898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 9 Oct 2009 01:52:46 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n996qjEi010381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 9 Oct 2009 01:52:45 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n996qjTn010379; Fri, 9 Oct 2009 01:52:45 -0500 (CDT) (envelope-from dan) Date: Fri, 9 Oct 2009 01:52:45 -0500 From: Dan Nelson To: Matthias Apitz Message-ID: <20091009065245.GV29215@dan.emsphone.com> References: <20091009055817.GA2420@current.Sisis.de> <20091009061326.GA2493@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20091009061326.GA2493@current.Sisis.de> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Fri, 09 Oct 2009 01:52:46 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: jhell , freebsd-questions@freebsd.org Subject: Re: tar --unlink ? 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: Fri, 09 Oct 2009 06:52:48 -0000 In the last episode (Oct 09), Matthias Apitz said: > El día Friday, October 09, 2009 a las 02:07:21AM -0400, jhell escribió: > > On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote: > > > > > >To move a file tree from one place to another I see as an example: > > > > > ># tar -cf - local | tar --unlink -xpf - -C /mnt > > > > > >What does '--unlink' do exactly? I can't see it in the man page of > > >tar(1). Thanks in advance > > > > man 2 unlink > > I know the unlink(2) sys call, but what does this --unlink flag in tar(1) > on restore (-x)? It's the same as the -U option, provided for gnutar compatibility. -- Dan Nelson dnelson@allantgroup.com