[Bug 280941] The reboot command considered harmful

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Aug 2024 10:02:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280941

--- Comment #1 from Anton Shepelev <ant-x@rambler.ru> ---
(In reply to Anton Shepelev from comment #0)

An important consideration in favor of my proposal is
statistical: an overwhelming majority of situations when the
user wishes to reboot his machine, call for a normal,
graceful reboot, as effected by `shutdown -r [now]', rather
than the fast reboot with an incomplete deinitialisation
that `reboot' currently performs.  It is therefore a matter
of economy and elegance to make the more frequent command
shorter and easier, and to handle the less frequent one as a
special case with explicit activation.

Since `reboot' and `halt' are a related pair, probably
sharing a lot of the same code, my proposal affects them
both in the same way.  The existing `fastboot' and
`fasthalt' aliases should them be redefined to `reboot -f'
and `half -f' respectively.

-- 
You are receiving this mail because:
You are the assignee for the bug.