freebsd-dev/share/man/man7
Mateusz Piotrowski 03840eefd7 development(7): Replace "reboot" with "shutdown -r now"
We generally document shutdown(8) instead of reboot(8) as it's better for
interactive use.

In modern FreeBSD is matters a lot less, it's mostly just convention. One
minor thing is that shutdown(8) produces a global message, while reboot(8)
does not. It is believed that historically, some versions of reboot did not
do appropriate safe shutdown checks and just rebooted.

It's also just consistency: for example the handbook[1] documents shutdown.

There is actually another important difference between reboot and shutdown
-r now: reboot does not run /etc/rc.shutdown. This is because reboot has
its own shutdown procedure and does not signal init like init 6 and
shutdown -r now do (except in the case of rerooting via reboot -r).

A few years ago jilles@ proposed changing reboot's default to signalling
init (preserving reboot -q which just invokes the reboot system call), but
this was not accepted. Perhaps this can be tried again for 13.0.

[1]: https://www.freebsd.org/doc/handbook/boot-shutdown.html

Reported by:	eadler
Reviewed by:	eadler, jilles
Approved by:	krion (mentor)
Differential Revision:	https://reviews.freebsd.org/D16843
2018-11-16 14:29:28 +00:00
..
arch.7 arch.7: update final ia64 release to 10.4 2018-10-23 13:03:24 +00:00
ascii.7 Fix '\' in binary ascii table 2017-10-31 06:43:37 +00:00
bsd.snmpmod.mk.7
build.7 build(7): clarify buildenv target can be used for non-cross builds 2018-11-10 20:26:19 +00:00
c99.7 Don't put multiple names on a single .Nm line. This fixes apropos(1) 2018-04-17 09:05:46 +00:00
clocks.7
crypto.7
development.7 development(7): Replace "reboot" with "shutdown -r now" 2018-11-16 14:29:28 +00:00
environ.7
ffs.7
firewall.7
growfs.7 Don't end up manpage titles with a full stop. 2017-05-24 21:02:53 +00:00
hier.7 Improve spelling and capitalize "Kerberos". 2018-06-18 13:49:44 +00:00
hostname.7 mailaddr(7): wave goodbye 2017-11-11 07:00:40 +00:00
intro.7
maclabel.7
Makefile mailaddr(7): wave goodbye 2017-11-11 07:00:40 +00:00
Makefile.depend
operator.7
ports.7 Tidy up the ports.7 manual page. 2018-08-16 13:29:23 +00:00
release.7 Add an example for building SD card images for the RPI-B and 2018-03-28 18:43:06 +00:00
sdoc.7
security.7
sprog.7
stdint.7
sticky.7
tests.7 Use https over http for FreeBSD pages 2018-07-27 10:40:48 +00:00
tuning.7 my copyright: some minor adjustments 2018-05-19 20:35:15 +00:00