Date: Sun, 11 Oct 2020 15:20:16 +0300 From: Toomas Soome <tsoome@me.com> To: Alexey Dokuchaev <danfe@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r366626 - head/sbin/reboot Message-ID: <8601CC07-3A43-461A-915C-3CB68BADF41A@me.com> In-Reply-To: <202010111040.09BAeCfg073782@repo.freebsd.org> References: <202010111040.09BAeCfg073782@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Please note, the remove is done by rc script during the boot. Also nextboot.= conf not generic configuration file (such as loader.conf or loader.conf.loca= l), but the implementation specific file, part of special feature. That is, o= ne should not assume the presence of nextboot.conf file, make assumptions ab= out its content, or perform manual edits on it. Rgds, Toomas > On 11. Oct 2020, at 13:40, Alexey Dokuchaev <danfe@freebsd.org> wrote: >=20 > =EF=BB=BFAuthor: danfe (ports committer) > Date: Sun Oct 11 10:40:11 2020 > New Revision: 366626 > URL: https://svnweb.freebsd.org/changeset/base/366626 >=20 > Log: > The nextboot(8) manual page currently says that the loader(8) would delet= e > the /boot/nextboot.conf file or its contents which is 1) not the most use= r- > friendly way of working with custom configurations, and 2) simply not tru= e > for both Forth and Lua implementations: they would not delete it, but jus= t > change the setting to "NO", that is, disable it. >=20 > While at it, add one missing serial (Oxford) comma and fix some bogus lin= e > wraps along the way. >=20 > Approved by: bcr (manpages) > Differential Revision: https://reviews.freebsd.org/D25971 >=20 > Modified: > head/sbin/reboot/nextboot.8 >=20 > Modified: head/sbin/reboot/nextboot.8 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- head/sbin/reboot/nextboot.8 Sun Oct 11 09:05:13 2020 (r366625) > +++ head/sbin/reboot/nextboot.8 Sun Oct 11 10:40:11 2020 (r366626) > @@ -24,7 +24,7 @@ > .\" > .\" $FreeBSD$ > .\" > -.Dd September 19, 2020 > +.Dd October 11, 2020 > .Dt NEXTBOOT 8 > .Os > .Sh NAME > @@ -41,14 +41,14 @@ > .Sh DESCRIPTION > The > .Nm > -utility allows specifying some combination of an alternate kernel, boot f= lags > -and kernel environment for the > -next time the machine is booted. > +utility allows specifying some combination of an alternate kernel, boot > +flags, and kernel environment for the next time the machine is booted. > Once the > .Xr loader 8 > -loads in the new kernel > -information, it is deleted so in case the new kernel hangs the machine, > -once it is rebooted, the machine will automatically revert to its previou= s > +loads in the new kernel information from the > +.Pa /boot/nextboot.conf > +file, it is disabled so in case the new kernel hangs the machine, once > +it is rebooted, the machine will automatically revert to its previous > configuration. > .Pp > The options are as follows:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8601CC07-3A43-461A-915C-3CB68BADF41A>