From owner-freebsd-current@freebsd.org Thu Dec 14 09:23:39 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 722B7E9DA9E for ; Thu, 14 Dec 2017 09:23:39 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E96BD7C2DB; Thu, 14 Dec 2017 09:23:38 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.51.216.133]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LlpJU-1eykYa02Ma-00ZLSg; Thu, 14 Dec 2017 10:23:36 +0100 Date: Thu, 14 Dec 2017 10:22:53 +0100 From: "O. Hartmann" To: Allan Jude Cc: freebsd-current@freebsd.org Subject: Re: kernel names Message-ID: <20171214102320.4e4ef169@thor.intern.walstatt.dynvpn.de> In-Reply-To: <2f54bb9d-b7e0-9f4a-b894-6d72c7470b24@freebsd.org> References: <2f54bb9d-b7e0-9f4a-b894-6d72c7470b24@freebsd.org> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/BhYvmmDC3B/b+Om0QHIXkyw"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:9hJ8sAA5L+YxcndTHCAZVGbfmg3giMq3VmCWVTpOeqZD35qJ7K8 aoiodEZ9JCUvBCMVwjp44N6pXWJFEhL1LmRVyN0BFJPCWHs2W9AwLVbmkiqg2S2qN9ZULjm ksqHYtH50nv7ROevEZSEuzU7IDiyRhDbEcyh6RwXBkDlOm+OaS0h6BEf6XwHiEFae1hOyu7 8cHXsAkT2hL3YWwihDipw== X-UI-Out-Filterresults: notjunk:1;V01:K0:fP31z/RPT9I=:xTAgLIWXzY8d10Ih7Sq/8B 0sgg0h3z/Kk7+hsffPjL1zwsUPPVBIawfJJwiMklNhKuh4jhcVoD/2GdK+oebgO3DQUSy8qLu ofV/qQuYc66AoUX26z3SBSx/w5Jy01GOBeg0m8m23Fo1K8OwqVGwsxlV5YBXLzpWtFW2XWu6N EkjA1zF7QyZgmEnDs8Xd/DOqGkIBt0eWErwtFYVHEpC+Yle9VonPHzDO/3CnCBDdkHjNYPRym Yy9YflwmAszOaJkuBgYWmagY2QsdKN73b7ZeAyk+jGt6GqGG2xJOCvLNhq+z6kHAtqNasGczx S0fRpN/bk5XLqTSFh7v5q14ljWi9B0sr+TwJ9o11aP5TTSGlX5Ts4fQXGync0ShdqInbIreMG qp8/oIiOxDpkVY2uYhUDa6jWSQxTvGzcg5VDwaHFjpOd1NeaNiYfqTcIW5CTBYrFiCtOTU3Vo 9Nl4Ymgjbb8+S47orPkRa9gVtkfGNMA+d1qXk6Xkjkqkv3r35Hg/zxIRNGEjTzqIX6PjJUTrT xZiwHI30QYInF2PtnNy03U7RJdcHO6byRxWP8x6nJQwtpqAVqyOIk8kAqWbfIURv8c/9BlB7b MioXhY6BigenJO9dg1ZVp8DBIqSbeQASV64i0peAqoA/VLFxP0Z6c07ll2vhkf80+9VjXtQkY kbDoCDcGF80QMPrIWeP54FBXFoaBhiQCKC2XR+cJ4FwWhpe8eKDzWCKUrpTfSUEcTHS5d42oz ZlRFc+0q5S3XyqtWDNKNmXxL02bIDBOPzHw/MXZ2+i2Cz7/HEfc1kixHbNbspvQotP20NHqHm QYOKcI8bq7sZabkcaCoXQmAGDYMJg== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 09:23:39 -0000 --Sig_/BhYvmmDC3B/b+Om0QHIXkyw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Thu, 14 Dec 2017 00:51:54 -0500 Allan Jude schrieb: > On 12/14/2017 00:47, blubee blubeeme wrote: > > When you boot into FreeBSD and you can select kernels, there's only 2 > > options: > > default and kernel.old > >=20 > > Is there a way to have better output and support multiple kernels witho= ut > > having to login to the system and running uname -v or something like th= at? > >=20 > > Would it be possible to add options for more kernels from that boot men= u? > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" > > =20 >=20 > The list is controlled by the /boot/loader.conf variable kernels=3D > which defaults to "kernel kernel.old" >=20 > I have a patch almost ready to land that will search all subdirectories > of /boot for a file named 'kernel' and add the names of those > directories to the list, such that the list will basically be autogenerat= ed. Ahh ... great! I can't await it for your approach to land in CURRENT ;-) Th= anks. Oliver >=20 > It currently contains too much copy/pasted code, and I just need to > clean it up a bit: https://reviews.freebsd.org/D11886 >=20 > It was originally designed as part of my contributions towards packaged > base, where pkg will keep the last N (default to 5 I think) kernel > packages you have installed around, incase an upgrade goes bad. >=20 > This feature will work on any filesystem supported by the loader. >=20 --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/BhYvmmDC3B/b+Om0QHIXkyw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWjJDCAAKCRDS528fyFhY lKCLAgCJQvBFpm+fmREHBjn66Y5aeVspqLzR5KMxn+3P3BjaCBWGPLC0ii6a3rSh SlgfSjk5pv3isTPOG7YcNf1U9EwwAf0Y3ohbdPluZ7b3Z3ZOyoEWW2cVzH6X1xlQ RLITHkTEL8k4fLm6qXL0+7MhjUZk3Si9KUhTpXMj0KmK/RLOQvtK =F/LV -----END PGP SIGNATURE----- --Sig_/BhYvmmDC3B/b+Om0QHIXkyw--