Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 08:01:07 -0800 (PST)
From:      jaymax <jaymax36@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Restricting tar or pax to a single file system
Message-ID:  <26466083.post@talk.nabble.com>
In-Reply-To: <20091122071719.GG89004@dan.emsphone.com>
References:  <26463168.post@talk.nabble.com> <20091122071719.GG89004@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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.




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