Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 10:22:53 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Allan Jude <allanjude@freebsd.org>
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:  <CALM2mE=_76KGhBXK3N0BZe%2B5UdcKGaGh37DFfpRbbkS88uVV4g@mail.gmail.com> <2f54bb9d-b7e0-9f4a-b894-6d72c7470b24@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <allanjude@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171214102320.4e4ef169>