bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] reboot: recognize and ignore -f/--force


From: Samuel Thibault
Subject: Re: [PATCH] reboot: recognize and ignore -f/--force
Date: Tue, 19 Oct 2021 13:27:03 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Hello,

Sergey Bugaev, le mar. 19 oct. 2021 13:54:21 +0300, a ecrit:
> On Tue, Oct 19, 2021 at 1:42 PM Andrea Monaco
> <andrea.monaco@autistici.org> wrote:
> > common boot scripts call reboot with -f or --force to force a reboot. I
> > think our reboot can safely recognize and ignore it, to avoid breaking
> > those scripts and make interchange of scripts easier.
> 
> Wouldn't it be better to implement --force the same way other systems
> do, by skipping any attempts to perform a clean shutdown, and
> _forcing_ a reboot?

Reboot-hurd is already that actually. What -f ignores on Linux is the
daemon shut down, which reboot-hurd ignores as well. People still expect
Linux to properly flush page cache and buffers, i.e. safely shut down
translators, which reboot-hurd does.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]