|
|
1.1 ! root 1: .TH REBOOT 2V VAX/11 ! 2: .UC 4 ! 3: .SH NAME ! 4: reboot \- reboot system or halt processor ! 5: .SH SYNOPSIS ! 6: .nf ! 7: .B #include <sys/reboot.h> ! 8: .PP ! 9: .B reboot(howto) ! 10: .B int howto; ! 11: .fi ! 12: .SH DESCRIPTION ! 13: .I Reboot ! 14: is used to cause a system reboot, and is invoked automatically ! 15: in the event of unrecoverable system failures. ! 16: .I Howto ! 17: is a mask of options passed to the bootstrap program; ! 18: some of the information in ! 19: .I howto ! 20: is interpreted by this program, and the information is further ! 21: passed to the initialization process ! 22: .IR init (8) ! 23: in the new system. ! 24: When none of these options (e.g. RB_AUTOBOOT) is given, the system is rebooted ! 25: from file \*(lqvmunix\*(rq in the root file system of unit 0 ! 26: of the drive with the same disk controller as the current root file system. ! 27: An automatic consistency check of the disks is then normally performed. ! 28: .PP ! 29: The bits of ! 30: .I howto ! 31: are: ! 32: .TP ! 33: RB_HALT ! 34: the processor is simply halted; no reboot takes place. ! 35: This should be used with caution. ! 36: .TP ! 37: RB_ASKNAME ! 38: Interpreted by the bootstrap program itself, causing it to ! 39: inquire as to what file should be booted. Normally, the system is ! 40: booted from the file \*(lqxx(0,0)vmunix\*(rq without asking, where ! 41: .I xx ! 42: is determined by a code in register ! 43: .I r10 ! 44: (which is known as ! 45: .I devtype) ! 46: at entry to the bootstrap program. The code corresponds to the ! 47: major device number of the root file system, i.e. \*(lqmajor(rootdev)\*(rq. ! 48: Currently, the following values of ! 49: .I devtype ! 50: are understood: ! 51: .RS ! 52: .br ! 53: .ns ! 54: .IP ! 55: .nf ! 56: 0 hp rm03/rm05/rp06 massbus disk ! 57: 1 -- unused ! 58: 2 up emulex sc21 unibus controller; ampex 9300 disks ! 59: 3 rk rk07 unibus disks ! 60: .fi ! 61: .RE ! 62: .IP ! 63: Thus if ! 64: .I r10 ! 65: contained a 2, the system ! 66: .RS ! 67: .IP ! 68: .B up(0,0)vmunix. ! 69: .RE ! 70: .IP ! 71: would be booted. ! 72: .TP ! 73: RB_SINGLE ! 74: Normally, the reboot procedure involves an automatic disk consistency ! 75: check and then multi-user operations. This prevents the consistency ! 76: check, rather simply booting the system with a single-user shell on ! 77: the console, from the file system specified by ! 78: .I r10. ! 79: .SH "SEE ALSO" ! 80: crash(8), halt(8), init(8), reboot(8) ! 81: .SH BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.