Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2025 09:18:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280941] The reboot command considered harmful
Message-ID:  <bug-280941-227-5ccDqh26o4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280941-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280941-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280941

Daniel Tameling <tamelingdaniel@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tamelingdaniel@gmail.com

--- Comment #12 from Daniel Tameling <tamelingdaniel@gmail.com> ---
I haven't commented so far since I don't care that much and wanted to see h=
ow
the discussion goes. But I wasn't using reboot because of my experience with
Linux, I was using it because it's called reboot. And while it's rebooting =
the
system, it turns out that if I want to reboot I should actually be using
shutdown instead. That is just bad design and violates the principle of lea=
st
astonishment FreeBSD normally champions. In fact, with the way I use FreeBS=
D, I
will never use the current reboot directly, so for myself I created a shell
alias to shutdown -r now.

And this is a FreeBSD pitfall I have seen multiple people fall into. And it=
 is
not just beginners. For instance this forum post starts with: "For over 20
years I have used the command: reboot. And never had any problems in my tim=
e. I
frequently see the manuals say to use the command: shutdown -r now. Why is =
this
used instead of "reboot" and what is the difference?"
https://forums.freebsd.org/threads/reboot-my-way-or-reboot-your-way.89185/

I understand that there are people with different usage patterns and
expectations, but I personally am in favour of changing the behavior of reb=
oot
and halt. I wouldn't even add a fast flag as there still will be fastboot a=
nd
fashalt. But I can also accept if the current situation remains as it is.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280941-227-5ccDqh26o4>