Restricting tar or pax to a single file system

jaymax jaymax36 at
Sun Nov 22 16:01:08 UTC 2009

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?


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 at
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

View this message in context:
Sent from the freebsd-questions mailing list archive at

More information about the freebsd-questions mailing list