From owner-freebsd-questions@FreeBSD.ORG Tue Nov 24 17:40:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B8B21065697 for ; Tue, 24 Nov 2009 17:40:37 +0000 (UTC) (envelope-from comp.john@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id EB28C8FC22 for ; Tue, 24 Nov 2009 17:40:36 +0000 (UTC) Received: by bwz5 with SMTP id 5so6642476bwz.3 for ; Tue, 24 Nov 2009 09:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=pTk0tDcAM96lTXJDjh/1CVzc6fEWudnT5PXsYhVzqmE=; b=jklmLbOG8i+c8TP0BuY/Hjhkr4QjlyFOBQEsVRBBFcIFU0as/Z1CoyxXedQn5QsCrl XiXfAiHIbjO0U1tDK3PZnBg/uPMpppDt4hk9AodE3mPTHol4gCTOYkXuW9YuDQltav0w psJLO8j0pL5DEhkxVd4S4q1q33dqLGdgDB3co= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xqhFt387Q6uShn6fH3ogg0StoaCGRm+JjTvfwaZ0VauTSZtFsGcTTZrDk7KFEE+LSA MYNVnoeZKlHPSsNlYurvC3/CQEdt1n9cdbFaGpVzUjF3CtmikrBSuc2lVGosssvQYE21 yJSlFDwYbo9TmzxYk+K1kefiPs8mLoWILGsQg= Received: by 10.204.160.154 with SMTP id n26mr6363007bkx.90.1259084435637; Tue, 24 Nov 2009 09:40:35 -0800 (PST) Received: from potato (potato.growveg.org [62.49.247.163]) by mx.google.com with ESMTPS id 13sm7507160fks.15.2009.11.24.09.40.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Nov 2009 09:40:35 -0800 (PST) Date: Tue, 24 Nov 2009 17:40:25 +0000 From: John To: Rolf G Nielsen Message-ID: <20091124174025.GC91657@potato> References: <20091124154514.GA91657@potato> <200911241725.42229.pieter@degoeje.nl> <20091124163718.GB91657@potato> <4B0C1249.1090600@lazlarlyricon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B0C1249.1090600@lazlarlyricon.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Pieter de Goeje , freebsd-questions@freebsd.org Subject: Re: 7.2-STABLE to 8-R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2009 17:40:37 -0000 On Tue, Nov 24, 2009 at 06:05:13PM +0100, Rolf G Nielsen wrote: > > Just another note or two. > > If you decide to recompile the ports using portupgrade, portmaster or a > similar tool, rather than, as Pieter suggested, deleting them and > re-installing, make sure your ports are up to date before upgrading the > system. That way you are less likely to run into problems when > recompiling them after upgrading. > > After running mergemaster, do a make delete-old to remove any 7.2 > binaries remaining (libraries still in use won't be deleted). I usually > do this while still in single user, but I believe it can be done in > multi user as well. Yes, this is good advice. When crossing even a minor version boundary, I do this, though it might be overkill with minor version changes. make delete-old and make delete-old-libs. I also run make delete-old-dirs and make delete-old-files Regarding ports, I think I'll take the long route. This box is my main machine, my desktop - and so there are a LOT of ports installed. It will be easier to make portmanager rebuild everything in pristine mode. It will take a long time, but I accept this. Before this is done, I run the built-in routines in /usr/ports - clean out */work/* and distfiles. It's a fast machine though - shouldn't take too long. What I'm thinking about now is speeding up make. There are two cores in this CPU. Can I specify -j2 ? Is it one per core or more? I have also specified CPUTYPE?=athlon64 in make.conf. dmesg shows this: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (3006.83-MHz K8-class CPU) Can I specify -j somewhere? man make.conf doesn't cite examples of -j and I'm unsure where (or if it is even desirable) to put it. Any clues? cheers -- John - comp dot john at googlemail dot com OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop GPG: 0xF08A33C5