From owner-freebsd-current@freebsd.org Thu Dec 14 08:16:49 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 D50DDE9B9CC for ; Thu, 14 Dec 2017 08:16:49 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from mx6-out9.antispamcloud.com (mx6-out9.antispamcloud.com [95.211.2.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84EE279F57 for ; Thu, 14 Dec 2017 08:16:49 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx26.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ePNxN-0007JI-Fz for freebsd-current@freebsd.org; Thu, 14 Dec 2017 08:29:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fiJIOneEwbUSw1WEJuohgl9iLQfURcziHoSQ0ZMx+hU=; b=kogTqKdJwRTTF33aQwMl+iMFW/ BetTmFAymUCIoVabI3dbR+tuiWrJa4vsbOx+5xnG3Pg6M+um8EGdR0G2lbDk+m6VP4gfsGA3rjNTe dgp0tNaYS9sGjudBkMGmp7YXDVY/u6tD7F/QVFJm+8gdv7aEWe+9c9dSv4oQPtMeNbvO1ulRFKOvf /b/iAiVMaTyPcdApnuySgV6YYBdRFsG8PC1HJtC4a0qXWQz4YnY8HZKiGYo2fyJZktOc/81CB5kPW Zoz0GvktNGR6eiJ5Lrak/kMqR+sRyHYcjCcjFL/2QCSZaVxehORN4hK8Oo28ye19ym9kNU0Ogj1Sv smUDs20g==; Received: from subs12-223-255-228-88.three.co.id ([223.255.228.88]:28117 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ePNwY-0009MA-Id; Thu, 14 Dec 2017 14:28:34 +0700 Date: Thu, 14 Dec 2017 15:28:32 +0800 From: Erich Dollansky To: Allan Jude Cc: freebsd-current@freebsd.org Subject: Re: kernel names Message-ID: <20171214152832.52b535a6.freebsd.ed.lists@sumeritec.com> In-Reply-To: <2f54bb9d-b7e0-9f4a-b894-6d72c7470b24@freebsd.org> References: <2f54bb9d-b7e0-9f4a-b894-6d72c7470b24@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: ham X-AntiSpamCloud-Outgoing-Evidence: Combined (0.04) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5uqY2+aLM/XbTIr1LZe49wIXv9krsgRhBn0ayn6qsUc7x6IOtttBWgPY za5Lun6B7MZ9NiEFz7X+CPcCDaS7lz7GTeieozC56kHupXsZOaDGssoDdp5Vw0BJBgDdip9qfjtV rcXiG3jVvyh9GTF9XU5DYuzvEeD4KUSNOVTDBXT8IRFsicyJMEhQFtD8PLointjahN0MK8ps8x/C 1qhkdZsMkTeZFNNR/WIpfQ2B3lFj1RtWIyKxUSoREjE/7VNQ8fiB2gGa4NbpRZ4pLIy2KmcXRuWz sGtazoE/vPfv1xaxiyi1TFE9uh6dOpTA08b6wDAs69FQbooXBmqDtpFld11brrwCZzWKieIk7R94 5NtYJWc6Hvk2XXh9/cAOBIKwOHz2xktCmqEq1+cTDToG9TPXXZAqrzYNzV3jEETifN/XfJomEqwE svuvXyGt8JcfF1EP5ysm/cbFtsaIamM3d2CAAuzz2dRpmmBV1pWxSApcaIfVaCHpEB6cFH6WJxE4 ZqmNQns4G4Lu1Z0qkp77KGV6tBzjT2SgBpw0u3YvKwGjTic+ruhBJOMhfuxk1oHBSDl4lidU1b80 J2t/rYe9m+T+DoqBsC/uQMsclP8aiBJ2SSzm7P5LFQTh7xAIEq/JAOP/OUUiyoxKCnwuNYv1rN7p +nI9BJabHELBkggad3WQI0XM/3rJu2YIAzVDXCTszSsavtI/BpoTTR0m9vx748g+ePukY31yweyg GiaBPV1Kfqb5R4VemuUI6bcEARsm0ASAg3ACsLVYcMwnzM6V4gQ3iiZtVhbV1vIcdJN0W2QuBIdw bMEc9U7OFQR0XkTUr1ss+n2ffnQxt6aJ7klZab+otuHJEaECIIhJNxMS+c0bF+8gN8ax9LqntRCm aHw627KnGFLUSfQxoCgjbv9bX5I= X-Report-Abuse-To: spam@quarantine1.antispamcloud.com 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 08:16:49 -0000 Hi, On Thu, 14 Dec 2017 00:51:54 -0500 Allan Jude wrote: > 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 > > > > Is there a way to have better output and support multiple kernels > > without having to login to the system and running uname -v or > > something like that? > > > > Would it be possible to add options for more kernels from that boot > > menu? _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org" > > The list is controlled by the /boot/loader.conf variable kernels= > which defaults to "kernel kernel.old" > > 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 autogenerated. > > It currently contains too much copy/pasted code, and I just need to > clean it up a bit: https://reviews.freebsd.org/D11886 > > 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. > > This feature will work on any filesystem supported by the loader. > this is a cool feature. Testing will become a lot easier then. Erich