Page MenuHomeFreeBSD

kern_reboot(9): some updates
ClosedPublic

Authored by mhorne on Mar 16 2023, 7:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 1:24 AM
Unknown Object (File)
Feb 1 2024, 10:18 PM
Unknown Object (File)
Feb 1 2024, 10:18 PM
Unknown Object (File)
Dec 20 2023, 7:21 AM
Unknown Object (File)
Dec 11 2023, 10:47 PM
Unknown Object (File)
Nov 27 2023, 11:08 PM
Unknown Object (File)
Nov 12 2023, 10:52 AM
Unknown Object (File)
Oct 13 2023, 8:48 PM

Details

Summary
  • This function no longer disables interrupts
  • MLINK to reboot.9
  • Document rebooting variable
  • The mentions of autoconfiguration is more about shutdown_nice(), coming in the next commit.
  • Describe the RB_* flags relevant to this function
  • Describe behaviour when shutdown hooks fail the reset
  • Describe expected execution contexts
  • Add FF copyright
  • xref panic(9)
  • xref this page in reboot(2)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

share/man/man9/kern_reboot.9
109

The tense is inconsistent in several of the points below as well.

Make the verb tense consistent in the list of actions.

Minor nits, fixable on commit if nothing else stands out.

share/man/man9/kern_reboot.9
49
65
mhorne marked 3 inline comments as done.

Handle nits.

This revision is now accepted and ready to land.Mar 20 2023, 4:22 PM
rpokala added inline comments.
share/man/man9/kern_reboot.9
90

Might want to define what "Halt the system in-place" means.

105

The existing wording -- if a NO flag is not set -- is not very clear. Perhaps something like this instead:

Unless the
.Dv RB_NOSYNC
flag is set in
.Fa howto ,
sync and unmount the system's disks by calling
.Xr vfs_unmountall 9 .
119–122
is not set
133

s/unusual/unlikely/

This revision was automatically updated to reflect the committed changes.
mhorne marked 4 inline comments as done.