NAME
fshalt, reboot – halt any local file systems and optionally reboot
the system |
SYNOPSIS
fshalt [ –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. 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. |