Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2008 18:51:09 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: undocumented tar --unlink switch
Message-ID:  <20080802235109.GB93138@dan.emsphone.com>
In-Reply-To: <4894ef2e.2NiKL22MfAcdbs27%perryh@pluto.rain.com>
References:  <4894ef2e.2NiKL22MfAcdbs27%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 02), perryh@pluto.rain.com said:
> Around line 37 of /usr/src/usr.sbin/pkg_install/add/extract.c
> there's an invocation of /usr/bin/tar with a --unlink switch,
> which I don't see mentioned in the tar(1) manpage.  Anyone
> happen to know what this does, or do I need to dig into the
> code?

That's just the longopts version of -U.  They're mainly for gnutar
compatibility, and the manpage refers to them at the very end:

     There are alternative long options for many of the short options
     that are deliberately not documented.


-- 
	Dan Nelson
	dnelson@allantgroup.com



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