[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
- [PATCH] reboot: recognize and ignore -f/--force, Andrea Monaco, 2021/10/19
- Re: [PATCH] reboot: recognize and ignore -f/--force, Sergey Bugaev, 2021/10/19
- Re: [PATCH] reboot: recognize and ignore -f/--force,
Samuel Thibault <=
- Re: [PATCH] reboot: recognize and ignore -f/--force, Sergey Bugaev, 2021/10/19
- Re: [PATCH] reboot: recognize and ignore -f/--force, Samuel Thibault, 2021/10/19
- Re: [PATCH] reboot: recognize and ignore -f/--force, Sergey Bugaev, 2021/10/19
- Re: [PATCH] reboot: recognize and ignore -f/--force, Jessica Clarke, 2021/10/19
- Re: [PATCH] reboot: recognize and ignore -f/--force, Samuel Thibault, 2021/10/23