From owner-freebsd-questions@FreeBSD.ORG Sun Nov 22 16:01:08 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 8C5D71065676 for ; Sun, 22 Nov 2009 16:01:08 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF3E8FC14 for ; Sun, 22 Nov 2009 16:01:08 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NCEs7-0005UQ-U9 for freebsd-questions@freebsd.org; Sun, 22 Nov 2009 08:01:07 -0800 Message-ID: <26466083.post@talk.nabble.com> Date: Sun, 22 Nov 2009 08:01:07 -0800 (PST) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <20091122071719.GG89004@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <26463168.post@talk.nabble.com> <20091122071719.GG89004@dan.emsphone.com> Subject: Re: Restricting tar or pax to a single file system 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: Sun, 22 Nov 2009 16:01:08 -0000 I think my reply went to the previous post, but here is The syntax here is confusing, should it be > [ignoring other options] tar -c -W one-file-system -f tarfile2Becreated.tar / { >From the man pages -W longopt=value Long options (preceded by --) are only supported directly on systems that have the getopt_long(3) function. The -W option can be used to access long options on systems that do not support this function. } Or is there another synopsis? Thanks! Dan Nelson wrote: > > In the last episode (Nov 21), jaymax said: >> How does one restrict tar or fax to a single file system when tarring or >> paxing from root (/) ? > > For tar: > > --one-file-system (-W one-file-system) > (c, r, and u modes) Do not cross mount points. > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://old.nabble.com/Restricting-tar-or-pax-to-a-single-file-system-tp26463168p26466083.html Sent from the freebsd-questions mailing list archive at Nabble.com.