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: Sergey Bugaev
Subject: Re: [PATCH] reboot: recognize and ignore -f/--force
Date: Tue, 19 Oct 2021 13:54:21 +0300

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? As in, reboot(8) would just call host_reboot ()
instead of contacting the startup server.

Sergey



reply via email to

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