Cronjob Cvsup -> What?
Mike Clarke
jmc-freebsd2 at milibyte.co.uk
Sun Jan 27 10:11:02 UTC 2013
On Sunday 27 Jan 2013 09:46:51 Matthew Seaman wrote:
> to get yourself a portsnap-ready copy of the ports tree. You only need
> to do that once, but you should move aside any pre-existing copy of
> /usr/ports obtained by any means other than portsnap(8) before you do
> (but keep anything under /usr/ports/distfiles and maybe
> /usr/ports/packages). Something like:
>
> cd /usr
> mv ports ports.old
> mkdir ports
> mv ports.old/distfiles ports/distfiles
> mv ports.old/packages ports/packages
> portsnap fetch extract
>
> Although this may be complicated if any of /usr/ports,
> /usr/ports/distfiles or /usr/ports/packages are on a separate partition
> or ZFS.
I suppose the best approach with ZFS would be to make a snapshot immediately
prior to running portsnap.
--
Mike Clarke
More information about the freebsd-questions
mailing list