From owner-freebsd-questions@FreeBSD.ORG Sun Jun 6 13:23:42 2010 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 32E301065674 for ; Sun, 6 Jun 2010 13:23:42 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BF15A8FC22 for ; Sun, 6 Jun 2010 13:23:41 +0000 (UTC) Received: by wyf28 with SMTP id 28so2557403wyf.13 for ; Sun, 06 Jun 2010 06:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=v2LX/4fsNstS/ZCnNgX1nYHknsO4iQH/DSUP7yWvY+8=; b=m/0lUAQ6Ky99zloN+m4T0PDlYB1jug3PlbZiLZgvYtCGC257Z8Cj1PV3QaTePw9SWn xCejnbe+UKx9KW2n2bTEjrGxboEuFZ/MMvrtFWXU/70SuyDHiFI6e1hn+2K2OkCIUzBe 34TcVZwI/03NDzY4cqRHBotFyxp/Ij4N273ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=FmO6Md7vRKYW268KCNSqR+0MElesI+8lD2rULJn4p8Cpm48mMb7qZ7mZm9vEW86K/F kTUSZYpqtwLMEPHxoHMikxd+GCe2nLAnSmZFhWZkW0+3Y1UYMcuPkh/HdO6NBBz+uaIb rHD7tYpSX8EQSHyit329zqUwA4E1vuxkTB820= MIME-Version: 1.0 Received: by 10.216.86.140 with SMTP id w12mr1339644wee.95.1275830620626; Sun, 06 Jun 2010 06:23:40 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Sun, 6 Jun 2010 06:23:40 -0700 (PDT) Date: Sun, 6 Jun 2010 13:23:40 +0000 Message-ID: From: "b. f." To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: installworld and sources X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 13:23:42 -0000 >Compiling a new kernel from source requires /usr/src to be populated, I >understand that. > >The buildworld process for sure needs /usr/src. My question is , is >/usr/src also used in the installworld process? > >Now I have never had to do this type of system RELEASE upgrade before, >so I just don't know. If you don't mean "installworld" literally, but instead you mean installing pre-compiled binaries like those distributed on the FreeBSD installation disk images, or those intended for use with freebsd-update(8), then the answer is "no". But if you mean it literally -- you intend to run the "installworld" target -- then the answer is yes, of course. It is the makefiles in /usr/src, from /usr/src/Makefile on down, that are responsible for telling make(1) what to do during "installworld". Even after you are done installing, you may still wish to keep part or all of the system sources around, in case of emergencies (you need to rebuild/re-install part of the base system), or for reference, or for subsequent base system updates, or because /sys may be sym-linked to the headers in /usr/src/sys. b.