/usr/portsnap vs. /var/db/portsnap

Colin Percival cperciva at freebsd.org
Sat Aug 6 09:04:14 GMT 2005


I'm going to be bringing portsnap into the base system very soon, and
I have a slight problem: I don't know where I should put the default
working directory.

Portsnap keeps a compressed snapshot of the ports tree, requiring
roughly 50MB and 13000 inodes.  The "natural" place for this to go
would be in /var/db/, but I suspect that this would cause problems
for many users, particularly when it comes to the number of inodes.

Is this a reasonable excuse for violating hier(7) and putting the
compressed snapshot into /usr/portsnap?  For reference, the port keeps
the snapshot in /usr/local/portsnap.

Colin Percival


More information about the freebsd-arch mailing list