fshalt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .TH FSHALT 8
  2. .SH NAME
  3. fshalt, reboot \- halt any local file systems and optionally reboot the system
  4. .SH SYNOPSIS
  5. .B fshalt
  6. [
  7. .B -r
  8. ] [
  9. .B -R
  10. ] [
  11. .I new-kernel
  12. ]
  13. .br
  14. .B reboot
  15. .SH DESCRIPTION
  16. .I Fshalt
  17. syncs all local
  18. .IR fossil (4),
  19. .IR venti (8),
  20. and
  21. .IR kfs (4)
  22. servers,
  23. then halts all local
  24. .IR fossil
  25. and
  26. .IR kfs
  27. servers.
  28. If given
  29. .BR -r ,
  30. .I fshalt
  31. will then reboot the machine by loading a new kernel. Specifying
  32. .BR -R
  33. will bypass loading a new kernel and restart the machine.
  34. If
  35. .I new-kernel
  36. is given, it will be loaded as the new kernel rather than
  37. the currently-loaded kernel.
  38. The halting and rebooting is done by copying all necessary
  39. commands into a
  40. .IR ramfs (4)
  41. file system and changing directory there before attempting to halt
  42. file systems,
  43. so this will work even on standalone machines with their roots on
  44. local file systems.
  45. .PP
  46. .I Reboot
  47. restarts the machine it is invoked on.
  48. .SH SOURCE
  49. .B /rc/bin/fshalt
  50. .br
  51. .B /rc/bin/reboot
  52. .SH SEE ALSO
  53. .IR cons (3),
  54. .IR reboot (8)
  55. .SH BUGS
  56. On standalone machines, it will be impossible to do anything
  57. after invoking bare
  58. .LR fshalt .