Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 09:29:42 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        Doug Barton <dougb@freebsd.org>, FreeBSD Current <current@freebsd.org>, Pietro Cerutti <gahr@freebsd.org>
Subject:   Re: cpio -l fails to revert to copy-mode
Message-ID:  <485BDAF6.5050802@elischer.org>
In-Reply-To: <485B394A.6020205@freebsd.org>
References:  <485A9E7E.6050703@FreeBSD.org> <485B394A.6020205@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485BDAF6.5050802>