On Wed, Dec 16, 2020 at 10:25 AM antlists <[email protected]> wrote: > > Here we are storing the data (source files) used to build a gentoo > system. So while it may be a bit tenuous (I find Rich's argument for > "cache" more compelling), I don't think the argument for calling this a > database that strange - portage the system uses portage the data to > build the system called gentoo ...
Oh, I would agree that Portage is a database, but if you want to go with that then /var/lib is the correct location. /var/db is not where you would store a database per FHS. In FHS /var/db doesn't exist at all. :) Really the main difference between /var/cache and /var/lib is value/persistance. The point of a cache is that you can toss it at any time and re-create it. That isn't true of the stuff in /var/lib. Which bucket the package repo fits into is somewhat nuanced. -- Rich

