Mailinglist Archive: zypp-devel (230 mails)
| < Previous | Next > |
Re: [zypp-devel] Re: Fetcher and hardlinking
- From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
- Date: Mon, 18 Feb 2008 16:40:33 +0100
- Message-id: <47B9A6F1.2030003@xxxxxxx>
Michael Andres wrote:
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |