Re: ZFS and cp -x

2011-06-19 Thread Eir Nym
On 19 June 2011 02:17, Daniel Staal dst...@usa.net wrote:
 --As of June 16, 2011 5:31:26 PM +0400, Eir Nym is alleged to have said:

 Does `cp -x` works correctly on ZFS?

 --As for the rest, it is mine.

 Yes, it does.  Sorry, I meant to test this for you earlier, but forgot...

ok, my story is:
I have Zpool v28,

zfs mount contains:
zpoo/usr/ports /usr/ports
zpool/usr/ports/distfiles /usr/ports/distfiles

when I try to cp -Rx, distfiles will be copied too.

-- Eir Nym

 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.
 ---

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS and cp -x

2011-06-19 Thread Eir Nym
On 19 June 2011 04:46, Randal L. Schwartz mer...@stonehenge.com wrote:
 Eir == Eir Nym eir...@gmail.com writes:

 Eir Does `cp -x` works correctly on ZFS?

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

This flag become available in 9.0, 8.1 and 7.4

http://www.freebsd.org/cgi/man.cgi?query=cpapropos=0sektion=0manpath=FreeBSD+8.1-RELEASEformat=html

-- Eir Nym

 --
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
 See http://methodsandmessages.posterous.com/ for Smalltalk discussion

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS and cp -x

2011-06-19 Thread Daniel Staal

--As of June 19, 2011 10:49:58 AM +0400, Eir Nym is alleged to have said:


zfs mount contains:
zpoo/usr/ports /usr/ports
zpool/usr/ports/distfiles /usr/ports/distfiles

when I try to cp -Rx, distfiles will be copied too.


--As for the rest, it is mine.

The distfiles directory, or the distfiles themselves?  If it's following 
the Gnu semantics (and from my test it was) it should create an empty 
distfiles directory.


All I can say is that on my 8.2-RELEASE system, it worked correctly when I 
tested it.


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.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS and cp -x

2011-06-18 Thread Daniel Staal

--As of June 16, 2011 5:31:26 PM +0400, Eir Nym is alleged to have said:


Does `cp -x` works correctly on ZFS?


--As for the rest, it is mine.

Yes, it does.  Sorry, I meant to test this for you earlier, but forgot...

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.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS and cp -x

2011-06-18 Thread Randal L. Schwartz
 Eir == Eir Nym eir...@gmail.com writes:

Eir Does `cp -x` works correctly on ZFS?

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

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS and cp -x

2011-06-18 Thread Daniel Staal
--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.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS and cp -x

2011-06-18 Thread Randal L. Schwartz
 Daniel == Daniel Staal dst...@usa.net writes:

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

Not the first time the online manpage viewer has got it wrong as well.

I suspect 8.1 there means 8.1 just before 8.2, and not 8.1 release.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS and cp -x

2011-06-16 Thread Eir Nym
Does `cp -x` works correctly on ZFS?

-- Eir Nym
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org