cpio -l fails to revert to copy-mode

Tim Kientzle kientzle at freebsd.org
Fri Jun 20 04:59:57 UTC 2008


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


More information about the freebsd-current mailing list