fshalt 984 B

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