cat /var/lib/portage/world > /etc/portage/package.mask