Re: cpio -l fails to revert to copy-mode

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Thu, 19 Jun 2008 21:59:54 -0700
Pietro Cerutti wrote:
> 
> ~> cpio -dumpl /tmp/
> test
> cpio: Can't create '/tmp/test': Cross-device link: Cross-device link
> 
> while
> 
> | gcpio -dumpl /tmp/
> test
> gcpio: /tmp: Operation not permitted
> gcpio: cannot link test to /tmp//test (will copy instead): Cross-device 
> link
> 
> The set of ${COPYTREE_*} "macros" in the ports infrastructure depend on
> this feature, so I would rate this as "highly important"...

Thanks!  I hadn't seen this usage before; I'll
get it fixed soon.

In the meantime, the obvious workaround is
to omit the -l flag.

Cheers,

Tim Kientzle
Received on Fri Jun 20 2008 - 02:59:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC