Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 10:07:49 +0000
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cronjob Cvsup -> What?
Message-ID:  <201301271007.49978.jmc-freebsd2@milibyte.co.uk>
In-Reply-To: <5104F78B.8050408@infracaninophile.co.uk>
References:  <20130127001805.97F0119B@hub.freebsd.org> <5104F78B.8050408@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301271007.49978.jmc-freebsd2>