On 2016-01-19 04:14, Duncan wrote:
Oh, I also don't allow any crazy indexers, like kde's baloo or the older
updatedb for (s)locate, to go crazy indexing everything, thereby wasting
valuable cache memory on files I won't actually be using. These things
get shut down as soon as I discover new ones, and preferably get
uninstalled, with dependencies on them turned off (on gentoo, via
appropriate USE flag) as well. On kde4 I was even carrying my own no-
semantic-desktop patches for awhile, when gentoo/kde decided they weren't
going to support kde without semantic-desktop. Fortunately they changed
their minds. I'm now finally updated to kde-frameworks5 with plasma5,
and have baloo installed for that as I don't yet grok how to keep it off
the system entirely in frameworks/plasma5, but it's definitely shut down
as far as runtime goes.
There's a reason I don't use KDE...
(Well, a couple actually, the indexing getting pulled in is only part of
it, I also dislike the all-or-nothing packaging (everything seems to
depend on everything else), and having to update the whole thing in
lock-step; somewhat ironically, GNOME has the same issues these days, so
I don't use that either).
That aside, it's probably worth noting that updatedb used by
{,m,s}locate only indexes metadata, and it does so a lot more
efficiently than most of the desktop search-engine indexers out there,
so it's not quite as bad as baloo or tracker or some of the other
options. Unlike those, updatedb pretty much just calls stat on
everything it's told to index, which takes time, but is not particularly
bad for your cache if you're just running it on your home directory.
There is a package indexer that runs, and of course syncing package
updates loads all that in cache, but all that's on my packages partition,
unmounted when I'm not actively doing package updates, etc, thereby
freeing the package updates subsystem caches.
For those who might be interested, autofs is wonderful for handling
stuff like this.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html