From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ScMNL-0001ow-KC for garchives@archives.gentoo.org; Wed, 06 Jun 2012 19:58:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D4F0E0923; Wed, 6 Jun 2012 19:58:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 07FCDE087C for ; Wed, 6 Jun 2012 19:56:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 635471B4004 for ; Wed, 6 Jun 2012 19:56:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.215 X-Spam-Level: X-Spam-Status: No, score=-1.215 tagged_above=-999 required=5.5 tests=[AWL=-0.206, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nVQGrmsiN8uH for ; Wed, 6 Jun 2012 19:55:58 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B22F81B4043 for ; Wed, 6 Jun 2012 19:55:57 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ScMKe-0007A9-LW for gentoo-user@gentoo.org; Wed, 06 Jun 2012 21:55:52 +0200 Received: from athedsl-233726.home.otenet.gr ([85.74.232.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jun 2012 21:55:52 +0200 Received: from realnc by athedsl-233726.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jun 2012 21:55:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: q-reinitialize script in portage-utils-0.10 Date: Wed, 06 Jun 2012 22:54:58 +0300 Organization: Lucas Barks Message-ID: References: <201206061930.59618.michaelkintzios@gmail.com> <201206062045.07399.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-233726.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120606 Thunderbird/12.0.1 In-Reply-To: <201206062045.07399.michaelkintzios@gmail.com> X-Archives-Salt: 3509ac84-9a11-4afa-b33d-054ade8687ee X-Archives-Hash: 9ea576f0abdb970b22f34341ad3f92e2 On 06/06/12 22:45, Mick wrote: > On Wednesday 06 Jun 2012 20:30:19 Nikos Chantziaras wrote: >> On 06/06/12 21:30, Mick wrote: >>> Latest stable portage told me this: >>> * Messages for package app-portage/portage-utils-0.10: >>> >>> * /etc/portage/postsync.d/q-reinitialize has been installed for >>> convenience * If you wish for it to be automatically run at the end of >>> every --sync: * # chmod +x /etc/portage/postsync.d/q-reinitialize >>> * Normally this should only take a few seconds to run but file systems >>> * such as ext3 can take a lot longer. To disable, simply do: >>> * # chmod -x /etc/portage/postsync.d/q-reinitialize >>> >>> but it did not tell me *why* and I don't understand what "Reinitialize >>> ebuild cache" mean. >>> >>> In case this makes any odds, I am using eix. Do I need the above script? >> >> The q tool has it's own database. q-reinitialize updates it. It takes >> 0.1 seconds to complete, so you can just activate it and forget about >> it. You can also execute it manually to see how fast it is. > > Thanks Nikos, is this a database to be used by the q tools, or for some other > purpose? It's used only by q. > I am trying to understand if I will be duplicating what eix does. It's not the same as eix. It's a bit similar to equery, except it's blindingly fast. Compare for example the speed of: equery belong /bin/bash vs: qfile /bin/bash q is orders of magnitude faster. I have both though, since some things can be done with the one but not with the other.