18 Feb
2008
18 Feb
'08
15:40
Michael Andres wrote:
On Mon, Feb 18, Duncan Mac-Vicar P. wrote:
But Fetcher is also used in other places appart of repository metadata download, and there, I have no idea if the cache dirs are in different filesystem than the destination directory. I tested and ln will fail.
if ( PathInfo( cache dirs ).dev() != PathInfo( destination ).dev() )
How expensive is this? If most of the cases will succeed with ln, I think it is faster to fallback to copy if ln fails. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org