tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PKG_DBDIR under LOCALBASE (Was: ... default PKG_DBDIR)



On Wed, Dec 2, 2009 at 5:49 PM, David Holland
<dholland-pkgtech%netbsd.org@localhost> wrote:
> On Tue, Dec 01, 2009 at 08:40:37PM +0000, David Brownlee wrote:
>  > > What is the proposed new location?
>  >
>  > I believe LOCALBASE/db
>
> Not VARBASE?
>
> Granted, to be installing packages LOCALBASE needs to be writeable,
> but it still seems like the kind of material that ought to be kept in
> /var for organizational purposes.

This doesn't belong in /var as I understand it.  The package database
is not transient data modified at run time by packages or by users.
The database is modified, exclusively, when installing/deinstalling
packages.  This always happens at the same time as modifying other
files in LOCALBASE (not in the sense of a regular database such as
MySQL, where you'd be installing the binaries once and then the
databases change regardless of the binaries).

-- 
Julio Merino


Home | Main Index | Thread Index | Old Index