ZFS and cp -x

Daniel Staal DStaal at usa.net
Sun Jun 19 01:00:27 UTC 2011


--As of June 18, 2011 5:46:54 PM -0700, Randal L. Schwartz is alleged to 
have said:

> Is "cp -x" new?  Not in my 8.1 manpages.

--As for the rest, it is mine.

The online man page viewer shows it in 8.1, but not 8.0.  So, it looks like 
a gnu-ism that got brought over for 8.1, according to the manpage histories.

It's also slightly confusing in the docs: the man page only says 'File 
System mounts are not traversed'.  It probably would be worth noting that 
it only has any effect with -R, as that's the only time when you are trying 
to copy files from multiple mountpoints.  It would have cleared up for me 
that it doesn't mean you can't copy *to* a different mountpoint.  ;)

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


More information about the freebsd-questions mailing list