|
|
1.1 ! root 1: .TH REBOOT 3 ! 2: .SH NAME ! 3: reboot \- reboot CPU after loss of file server connection ! 4: .SH SYNOPSIS ! 5: .nf ! 6: .B ! 7: write(cfd, "push reboot", 11); ! 8: .sp ! 9: .B ! 10: fd = open("#↑/deltat", OWRITE); ! 11: .B ! 12: fprint(fd, "%d", delaytime); ! 13: .fi ! 14: .SH DESCRIPTION ! 15: .PP ! 16: This is a combined device and stream module (see ! 17: .IR stream (3)). ! 18: The bootstrap program ! 19: .IR boot (8) ! 20: pushes the module onto the file server connection of ! 21: a CPU server. The system will then reboot automatically ! 22: if the connection hangs up. The reboot may be ! 23: postponed by ! 24: .I delaytime ! 25: milliseconds by writing the decimal value of ! 26: .I delaytime ! 27: to ! 28: .LR #↑/deltat . ! 29: Conventionally, this is done by ! 30: .BR /rc/bin/cpurc ! 31: (see ! 32: .IR cpurc (8)). ! 33: This mechanism may be used to cause the machines at a particular ! 34: site to come up in a fixed order, such as after a power failure. ! 35: .SH "SEE ALSO" ! 36: .IR stream (3) ! 37: .SH SOURCE ! 38: .B /sys/src/9/port/devreboot.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.