cpio -l fails to revert to copy-mode

Julian Elischer julian at elischer.org
Fri Jun 20 16:29:35 UTC 2008


Tim Kientzle wrote:
> 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.

then you get a copy of everything..

instead of links where possible.


> 
> Cheers,
> 
> Tim Kientzle
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list