From owner-freebsd-questions@FreeBSD.ORG Sun Apr 21 14:10:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 43440211 for ; Sun, 21 Apr 2013 14:10:37 +0000 (UTC) (envelope-from ascherrer@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id CE7A614AC for ; Sun, 21 Apr 2013 14:10:36 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id m6so3001214wiv.1 for ; Sun, 21 Apr 2013 07:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=HgUObNBoSCBhYs4SjHabjIWrcWXKio08zt/9wg2/lYI=; b=MDLBHoqTpVZrp0G6oH742c42TNs5Xb0rszO2N++xCN+1+ATS/B/ewh5fqZQz7soIi7 aM5tnxLDds40Bpn/P0CpNywWqvA4vI8cmOyQiBcQTNeRkoGl3KDJKXqg1cNrFKyH1jm7 CZHALIUqIPcAAnqjlTiG+e9pM35xpUew/xw4DDrdnjR695b4DYbvywH2qJrmRgeFko1p eH0gSiUF+uXjWgtPwRpdQDPFY7TNDSn07w3+X6lr0ynBic+1SeTNmZ7tPi2hiBG4GQxr 1rBeUpHx9U8ycbLvkhZIrqU5yVO7zT3s+glayPO6MxA/cqlwIEQ7qHxK1t+gqEmEzfrs +sYg== X-Received: by 10.180.77.10 with SMTP id o10mr11746335wiw.10.1366553435982; Sun, 21 Apr 2013 07:10:35 -0700 (PDT) Received: from manzana.hws.homeip.net ([2001:470:b71d:1:225:ff:fef2:447f]) by mx.google.com with ESMTPS id cb50sm34957658eeb.14.2013.04.21.07.10.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Apr 2013 07:10:35 -0700 (PDT) Message-ID: <5173F359.3030400@gmail.com> Date: Sun, 21 Apr 2013 16:10:33 +0200 From: andreas scherrer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Polytropon Subject: Re: Keeping FreeBSD with custom kernel up to date: freebsd-update no option? References: <516DA8A8.5040305@gmail.com> <20130416221851.5d898701.freebsd@edvax.de> <516F07F2.7020201@gmail.com> <20130417225532.4fcd15f9.freebsd@edvax.de> In-Reply-To: <20130417225532.4fcd15f9.freebsd@edvax.de> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2013 14:10:37 -0000 Thank you, Polytropon. I have (as far as I can tell) successfully upgraded to 9.1-RELEASE-p2 now. For this I moved /usr/src (SVN) out of the way and followed the upgrade process described in "25.2.3.2 Performing the Upgrade" in the Handbook [1]. on 17.4.13 22:55 Polytropon said the following: > On Wed, 17 Apr 2013 22:37:06 +0200, andreas scherrer wrote: >> For some reason I was under the impression that /usr/src/sys is not >> being updated by freebsd-update if I remove "kernel" from the >> "Components" directive in freebsd-update.conf. But I might be wrong (I >> will check). > > According to the documentation, /usr/src (and therefor the > /usr/src/sys subtree) is part of the "src" component, not > of "kernel", so it should be updated properly. OK. I will check if my /usr/src(/sys) ever changes now. I too think it should. >> Maybe related to this: how does freebsd-update "know" what >> sources/binaries to get when I don't use the "-r" switch? Does it rely >> on /usr/src/sys/conf/newvers.sh? That would still interest me (also see below). > By following -RELEASE, freebsd-update will "apply _that_ snapshot > of the source tree and the prebuild world and kernel at the > revision when X.Y-RELEASE-pZ has been verified", sloppily said. > So it basically doesn't matter what sources you have on your > machine (or even if you have any sources) as long as you're not > going to compile anything. But because this is a requirement in > your specific setting, freebsd-update will take care of that by > having the "src" component on its list. So how would I "follow -RELEASE". Or how does freebsd-update what I want to follow (see above)? I don't want to, so this is an academic question... And something else is bugging me: Is there a way I can contact "someone" (Tom Rhodes?) about the outdated freebsd-update documentation (concerning the custom kernel handling) in the Handbook ("FreeBSD Update" [2])? Colin Percival's email is in the man page, would that be the way to go? The Handbook states that Tom Rhodes wrote the freebsd-update section but does not reveal an email address... Kind regards andreas [1] http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html [2] http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html