Using sqlite is seems to be nouseful.
Any other method?
You can try something similar to this: http://forums.gentoo.org/viewtopic-t-296892.html , though the procedure there is quite complicated. Although I haven't tried it myself, the procedure should be something like this:leiking wrote:Any detail ? thanks.
Code: Select all
mv /usr/portage /opt/portage # portage directory is /opt/portage for permanent storage
mv /opt/portage/distfiles /opt/distfiles # we move the distfiles directory on to /opt
ln -s /opt/distfiles /opt/portage/distfiles # actual distfiles are in /opt/distfiles now so we simply do a symlink
mkdir /usr/portage # we create an empty /usr/portage which will be used for mounting onto ramCode: Select all
mount -t tmpfs -o size=400m tmpfs /usr/portageCode: Select all
rsync -a --delete /opt/portage/ /usr/portageCode: Select all
rsync -a --delete /usr/portage/ /opt/portage
umount /usr/portage