3 fshalt, scram, reboot \- halt any local file systems and optionally shut down or reboot the system
18 syncs and halts all local
26 will then reboot the machine.
29 to shut down the machine.
30 The halting and rebooting is done by copying all necessary
33 file system and changing directory there before attempting to halt
35 so this will work even on standalone machines with their roots on
39 restarts the machine it is invoked on. If an optional
41 is specified then the machine will load and start that
42 kernel directly instead of returning to the system rom. (see
46 shuts down the machine it is invoked on.
52 .B /sys/src/cmd/scram.c
57 On standalone machines, it will be impossible to do anything if scram fails
62 is limited to the PC and requires APM or ACPI.
65 first appeared in 9front (May, 2011).