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

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 20 Jun 2008 09:29:42 -0700
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"
Received on Fri Jun 20 2008 - 14:29:35 UTC

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