Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2022 09:20:06 -0700
From:      Kyle Evans <kevans@freebsd.org>
To:        "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
Cc:        Warner Losh <imp@bsdimp.com>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: Updating reboot's default
Message-ID:  <CACNAnaEhJ-WHTkGfhYYJEyfTnGAjfb_F6oh7QSbrtd8GFTeSpg@mail.gmail.com>
In-Reply-To: <202206211617.25LGH9sY053787@gndrsh.dnsmgr.net>
References:  <CANCZdfq0bkw4RGy=HoQhx0VHck=JQzoiONWifMY3n37Mpgz17w@mail.gmail.com> <202206211617.25LGH9sY053787@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 21, 2022 at 9:17 AM Rodney W. Grimes
<freebsd-rwg@gndrsh.dnsmgr.net> wrote:
>
> > 15 or 20 years ago, we talked about changing the default for reboot from
> > 'right now' to being safe shutdown. There were arguments made against it
> > due to tiny appliances and such.
> >
> > Time has past, and this oddity has persisted. It's time to revisit that
> > decision.
> >
> > I'd propose that we keep 'fastboot' and 'fasthalt' having the immediate
> > behavior. However, the 'reboot' command will switch from '-q' behavior to
> > '-r' behavior.
> >
> > I'll update the man page, etc to reflect these new defaults. Most of the
> > systems I've been on in the last 10-15 years have had some flavor of 'alias
> > reboot reboot -r' in their login scripts and/or made shell scripts that did
> > this. This will match what everybody else is doing, and will likely result
> > in less astonishment rather than more, even though it changes a
> > long-standing default behavior.
> >
> > Comments?
> >
> > Warner
>
> That isnt a reboot any more, that is a re-root, and I thought
> that re-root requires certain other things to be in place for it
> to work correctly, or perhaps I am mis-remebering that.  Also doesnt
> this preserve a large amount of prior state?
>

Note a later correction -- he meant "shutdown -r", rather than re-root.



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