From owner-freebsd-questions@FreeBSD.ORG Thu Apr 25 14:06:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8B21149A for ; Thu, 25 Apr 2013 14:06:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 532D516E4 for ; Thu, 25 Apr 2013 14:06:56 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-233.dynamic.qsc.de [92.195.26.233]) by mx01.qsc.de (Postfix) with ESMTP id 1A1313E472; Thu, 25 Apr 2013 16:06:55 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3PE73w5002037; Thu, 25 Apr 2013 16:07:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 25 Apr 2013 16:07:03 +0200 From: Polytropon To: Daniel Feenberg Subject: Re: FreeBSD-update? Message-Id: <20130425160703.d60d328e.freebsd@edvax.de> In-Reply-To: References: <20130424203430.e127c9a56fe88f968eed6ad5@sohara.org> <20130424213110.c277bd304c00ab64bcac2225@sohara.org> <5178602F.9010805@herveybayaustralia.com.au> <20130425063941.126a748686691ce998aa8a07@sohara.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 14:06:56 -0000 On Thu, 25 Apr 2013 07:37:01 -0400 (EDT), Daniel Feenberg wrote: > > > On Thu, 25 Apr 2013, Steve O'Hara-Smith wrote: > > > > > The problem under discussion is that the kernel version does not > > change when a freebsd-update update does not include a kernel change. > > > > Perhaps we could adopt the Linux practice of placing the release > information in /etc/issue I'd like to see a working placeholder for this file, not a modification, because it could be a "custom file" (created specifically for a system). Or do you perhaps refer to /etc/motd and the update_motd="YES" (update version info in /etc/motd) as seen in /etc/defaults/rc.conf? In /etc/issue, you write something like "%s/%m %r" to print the information before the login prompt. Or you use something like the traditional "im=\r\n%s/%m (%h) (%t)" in /etc/gettytab. Those are placeholders, the information is stored _outside_ of the files. Maybe it could be possible to add a text file in /etc that will contain the correct OS and kernel version number, maybe the date of the source the system has been built from (or the binary package for freebsd-update has been created from), and maybe the SVN revision number, because it looks important. :-) Then, if there could be mechanisms to plug this information properly into the traditional placeholders as described. Uhm... that would be great. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...