Gentoo Archives: gentoo-user

From: Glenn Enright <elinar@×××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Update portage cache ... horribly slow
Date: Thu, 29 Sep 2005 10:05:42
Message-Id: 200509291002.14678.elinar@ihug.co.nz
In Reply to: Re: [gentoo-user] Update portage cache ... horribly slow by Neil Bothwick
1 On Thu, 29 Sep 2005 08:22, Neil Bothwick wrote:
2 > On Thu, 29 Sep 2005 04:58:12 +0000, Glenn Enright wrote:
3 > > I second esync. It is a nice script that runs a little faster than
4 > > 'emerge sync'.
5 >
6 > It calls emerge sync, so how can it run faster?
7 >
8 > # This script imports the current esearch index,
9 > # calls `emerge sync` and `eupdatedb` and then
10 > # shows the packages which were updated or added
11 > # during the sync.
12 > #...
13 > syncprogram = "/usr/bin/emerge sync"
14
15 Umm... i didn't realize that! :p Until now I hadn't actually looked at the
16 esync script.
17
18 I guess while I was trying it out, subjectively it seemed to do its thing
19 faster. Perhaps that was down to the fact it calls emerge with the verbose
20 option off, which provides less overhead in the terminal. But obviously that
21 is easy enough to do from the command line as well. Still I get the
22 functionality of esearch in the bargain so it suits me.
23
24 --
25
26 "To IBM, 'open' means there is a modicum of interoperability among some of
27 their equipment."
28 -- Harv Masterson
29 --
30 gentoo-user@g.o mailing list