NAME
fshalt, reboot – halt any local file systems and optionally reboot the system

SYNOPSIS
fshalt [ –r ] [ –R ] [ new–kernel ]
reboot

DESCRIPTION
Fshalt syncs all local fossil(4), venti(8), and kfs(4) servers, then halts all local fossil and kfs servers. If given –r, fshalt will then reboot the machine by loading a new kernel. Specifying –R will bypass loading a new kernel and restart the machine. If new–kernel is given, it will be loaded as the new kernel rather than the currently–loaded kernel. The halting and rebooting is done by copying all necessary commands into a ramfs(4) file system and changing directory there before attempting to halt file systems, so this will work even on standalone machines with their roots on local file systems.

Reboot restarts the machine it is invoked on.

SOURCE
/rc/bin/fshalt
/rc/bin/reboot

SEE ALSO
cons(3), reboot(8)

BUGS
On standalone machines, it will be impossible to do anything after invoking bare fshalt.
Copyright © 2024 Plan 9 Foundation. All rights reserved.