From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 17:10:02 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68F09106567A for ; Thu, 22 Apr 2010 17:10:02 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: from omicron.omnis.ch (omicron.omnis.ch [62.48.3.130]) by mx1.freebsd.org (Postfix) with SMTP id B87EB8FC15 for ; Thu, 22 Apr 2010 17:10:01 +0000 (UTC) Received: (qmail 37101 invoked from network); 22 Apr 2010 16:43:19 -0000 Received: from [192.168.0.40] ([195.134.148.35]) by omicron.omnis.ch ([62.48.3.130]) with ESMTP via TCP; 22 Apr 2010 16:43:19 -0000 From: Olivier Mueller To: questions@freebsd.org Content-Type: text/plain Date: Thu, 22 Apr 2010 18:43:18 +0200 Message-Id: <1271954598.19773.24.camel@frosch.omx.ch> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1.1 Content-Transfer-Encoding: 7bit Cc: Subject: freebsd-update - removing sources of a 7.2 system 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: Thu, 22 Apr 2010 17:10:02 -0000 Hello, Two little questions about freebsd-update "best-practices": 1) These are the output when I start a "freebsd-update upgrade" on two different systems. On the first one, everything ok, on the second, the sources are still there and I would like to get rid of them: sys1: The following components of FreeBSD seem to be installed: kernel/generic world/base world/dict world/doc world/games world/info world/manpages sys2: The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/dict world/doc world/games world/info world/lib32 world/manpages world/proflibs Just to be sure: is this correct that I can just remove these 2 directories completely: - /usr/src (500MB) - /usr/obj/usr/src (1304MB) and that it would solve my "problem" ? Or is there a list of "installed components" somewhere that should be updated too? (I tried by renaming these 2 dirs and running freebsd-update again and it seemed to work, but I've not found that in the documentations I checked) 2) directory "/var/db/freebsd-update/files" is getting large after a few upgrades (800M-1.2GB): can it be deleted after an upgrade, once I am sure a rollback will not be necessary for example? Or should rather the while directory /var/db/freebsd-update be trashed ? Thanks & regards, Olivier PS: maybe these information would be useful to other? Putting them under http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html may be an idea... :)