|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 6918 (0x1b06)
Notes: UNIX file
Names: »init.8«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/cat8/init.8«
0x0000…0020 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆
[…0x1…]
0x0040…0060 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆
0x0060…0080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆
0x0080…00a0 20 20 20 20 20 20 20 20 20 20 20 20 20 31 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ 1 ┆
0x00a0…00c0 49 4e 49 54 28 38 29 20 20 20 20 20 20 20 20 20 20 20 20 55 4e 49 58 20 50 72 6f 67 72 61 6d 6d ┆INIT(8) UNIX Programm┆
0x00c0…00e0 65 72 27 73 20 4d 61 6e 75 61 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 49 4e 49 54 28 38 29 0a ┆er's Manual INIT(8) ┆
0x00e0…0100 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 4e 41 4d 45 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ NAME ┆
0x0100…0120 20 20 20 69 6e 69 74 20 2d 20 70 72 6f 63 65 73 73 20 63 6f 6e 74 72 6f 6c 20 69 6e 69 74 69 61 ┆ init - process control initia┆
0x0120…0140 6c 69 7a 61 74 69 6f 6e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 53 59 4e 4f 50 53 49 53 0a 20 20 ┆lization SYNOPSIS ┆
0x0140…0160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 65 74 63 2f 69 6e 69 74 0a 0a 20 20 20 20 20 20 20 ┆ /etc/init ┆
0x0160…0180 20 20 20 20 44 45 53 43 52 49 50 54 49 4f 4e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ DESCRIPTION ┆
0x0180…01a0 5f 08 49 5f 08 6e 5f 08 69 5f 08 74 20 69 73 20 69 6e 76 6f 6b 65 64 20 69 6e 73 69 64 65 20 55 ┆_ I_ n_ i_ t is invoked inside U┆
0x01a0…01c0 4e 49 58 20 61 73 20 74 68 65 20 6c 61 73 74 20 73 74 65 70 20 69 6e 20 20 74 68 65 20 20 62 6f ┆NIX as the last step in the bo┆
0x01c0…01e0 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 64 75 72 65 2e 20 20 20 ┆ot procedure. ┆
0x01e0…0200 49 74 20 20 6e 6f 72 6d 61 6c 6c 79 20 20 74 68 65 6e 20 20 72 75 6e 73 20 74 68 65 20 61 75 74 ┆It normally then runs the aut┆
0x0200…0220 6f 6d 61 74 69 63 20 72 65 62 6f 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 ┆omatic reboot se┆
0x0220…0240 71 75 65 6e 63 65 20 61 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 5f 08 72 5f 08 65 5f 08 62 ┆quence as described in _ r_ e_ b┆
0x0240…0260 5f 08 6f 5f 08 6f 5f 08 74 28 38 29 2c 20 61 6e 64 20 69 66 20 74 68 69 73 20 20 73 75 63 63 65 ┆_ o_ o_ t(8), and if this succe┆
0x0260…0280 65 64 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 65 67 69 6e 73 20 6d 75 6c 74 ┆eds, begins mult┆
0x0280…02a0 69 2d 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 2e 20 20 49 66 20 74 68 65 20 72 65 62 6f 6f 74 ┆i-user operation. If the reboot┆
0x02a0…02c0 20 66 61 69 6c 73 2c 20 69 74 20 63 6f 6d 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ fails, it com- ┆
0x02c0…02e0 6d 65 6e 63 65 73 20 73 69 6e 67 6c 65 20 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 20 62 79 20 ┆mences single user operation by ┆
0x02e0…0300 67 69 76 69 6e 67 20 20 74 68 65 20 20 73 75 70 65 72 2d 75 73 65 72 20 20 61 0a 20 20 20 20 20 ┆giving the super-user a ┆
0x0300…0320 20 20 20 20 20 20 20 20 20 20 20 73 68 65 6c 6c 20 20 6f 6e 20 20 74 68 65 20 63 6f 6e 73 6f 6c ┆ shell on the consol┆
0x0320…0340 65 2e 20 20 49 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 70 61 73 73 20 70 61 72 61 6d ┆e. It is possible to pass param┆
0x0340…0360 65 74 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 72 6f 6d 20 74 68 65 20 62 ┆eters from the b┆
0x0360…0380 6f 6f 74 20 70 72 6f 67 72 61 6d 20 74 6f 20 5f 08 69 5f 08 6e 5f 08 69 5f 08 74 20 73 6f 20 74 ┆oot program to _ i_ n_ i_ t so t┆
0x0380…03a0 68 61 74 20 73 69 6e 67 6c 65 20 20 75 73 65 72 20 20 6f 70 65 72 61 2d 0a 20 20 20 20 20 20 20 ┆hat single user opera- ┆
0x03a0…03c0 20 20 20 20 20 20 20 20 20 74 69 6f 6e 20 20 69 73 20 20 63 6f 6d 6d 65 6e 63 65 64 20 20 69 6d ┆ tion is commenced im┆
0x03c0…03e0 6d 65 64 69 61 74 65 6c 79 2e 20 20 20 57 68 65 6e 20 20 73 75 63 68 20 73 69 6e 67 6c 65 20 75 ┆mediately. When such single u┆
0x03e0…0400 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 72 61 74 69 6f 6e 20 69 73 ┆ser operation is┆
0x0400…0420 20 74 65 72 6d 69 6e 61 74 65 64 20 62 79 20 6b 69 6c 6c 69 6e 67 20 74 68 65 20 20 73 69 6e 67 ┆ terminated by killing the sing┆
0x0420…0440 6c 65 2d 75 73 65 72 20 20 73 68 65 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 ┆le-user shell (┆
0x0440…0460 69 2e 65 2e 20 62 79 20 68 69 74 74 69 6e 67 20 5e 44 29 2c 20 5f 08 69 5f 08 6e 5f 08 69 5f 08 ┆i.e. by hitting ^D), _ i_ n_ i_ ┆
0x0460…0480 74 20 72 75 6e 73 20 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f 08 72 5f 08 63 20 77 69 74 68 6f 75 74 ┆t runs /_ e_ t_ c/_ r_ c without┆
0x0480…04a0 20 74 68 65 20 72 65 62 6f 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 72 61 ┆ the reboot para┆
0x04a0…04c0 6d 65 74 65 72 2e 20 20 54 68 69 73 20 63 6f 6d 6d 61 6e 64 20 66 69 6c 65 20 70 65 72 66 6f 72 ┆meter. This command file perfor┆
0x04c0…04e0 6d 73 20 68 6f 75 73 65 6b 65 65 70 69 6e 67 20 6f 70 65 72 61 2d 0a 20 20 20 20 20 20 20 20 20 ┆ms housekeeping opera- ┆
0x04e0…0500 20 20 20 20 20 20 20 74 69 6f 6e 73 20 73 75 63 68 20 61 73 20 72 65 6d 6f 76 69 6e 67 20 74 65 ┆ tions such as removing te┆
0x0500…0520 6d 70 6f 72 61 72 79 20 66 69 6c 65 73 2c 20 6d 6f 75 6e 74 69 6e 67 20 66 69 6c 65 20 73 79 73 ┆mporary files, mounting file sys┆
0x0520…0540 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 6d 73 2c 20 61 6e 64 20 73 74 61 72 ┆- tems, and star┆
0x0540…0560 74 69 6e 67 20 64 61 65 6d 6f 6e 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 ┆ting daemons. I┆
0x0560…0580 6e 20 6d 75 6c 74 69 2d 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 2c 20 5f 08 69 5f 08 6e 5f 08 ┆n multi-user operation, _ i_ n_ ┆
0x0580…05a0 69 5f 08 74 27 5f 08 73 20 72 6f 6c 65 20 69 73 20 74 6f 20 63 72 65 61 74 65 20 20 61 20 20 70 ┆i_ t'_ s role is to create a p┆
0x05a0…05c0 72 6f 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 65 73 73 20 20 66 6f 72 20 20 65 ┆ro- cess for e┆
0x05c0…05e0 61 63 68 20 20 74 65 72 6d 69 6e 61 6c 20 70 6f 72 74 20 6f 6e 20 77 68 69 63 68 20 61 20 75 73 ┆ach terminal port on which a us┆
0x05e0…0600 65 72 20 6d 61 79 20 6c 6f 67 20 69 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 ┆er may log in. T┆
0x0600…0620 6f 20 62 65 67 69 6e 20 73 75 63 68 20 6f 70 65 72 61 74 69 6f 6e 73 2c 20 69 74 20 72 65 61 64 ┆o begin such operations, it read┆
0x0620…0640 73 20 74 68 65 20 66 69 6c 65 20 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f 08 74 5f 08 74 5f 08 79 5f ┆s the file /_ e_ t_ c/_ t_ t_ y_┆
0x0640…0660 08 73 20 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 6b 73 20 20 73 ┆ s and forks s┆
0x0660…0680 65 76 65 72 61 6c 20 74 69 6d 65 73 20 74 6f 20 63 72 65 61 74 65 20 61 20 70 72 6f 63 65 73 73 ┆everal times to create a process┆
0x0680…06a0 20 66 6f 72 20 65 61 63 68 20 74 65 72 6d 69 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ for each terminal ┆
0x06a0…06c0 20 20 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 65 20 66 69 6c 65 2e 20 20 45 61 63 68 20 ┆ specified in the file. Each ┆
0x06c0…06e0 6f 66 20 74 68 65 73 65 20 70 72 6f 63 65 73 73 65 73 20 6f 70 65 6e 73 20 20 74 68 65 0a 20 20 ┆of these processes opens the ┆
0x06e0…0700 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 65 72 6d 69 6e ┆ appropriate termin┆
0x0700…0720 61 6c 20 66 6f 72 20 72 65 61 64 69 6e 67 20 61 6e 64 20 77 72 69 74 69 6e 67 2e 20 20 54 68 65 ┆al for reading and writing. The┆
0x0720…0740 73 65 20 63 68 61 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 6c 73 20 74 68 ┆se chan- nels th┆
0x0740…0760 75 73 20 72 65 63 65 69 76 65 20 66 69 6c 65 20 64 65 73 63 72 69 70 74 6f 72 73 20 30 2c 20 31 ┆us receive file descriptors 0, 1┆
0x0760…0780 20 61 6e 64 20 32 2c 20 20 74 68 65 20 20 73 74 61 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ and 2, the stan- ┆
0x0780…07a0 20 20 20 20 64 61 72 64 20 20 69 6e 70 75 74 20 61 6e 64 20 6f 75 74 70 75 74 20 61 6e 64 20 74 ┆ dard input and output and t┆
0x07a0…07c0 68 65 20 64 69 61 67 6e 6f 73 74 69 63 20 6f 75 74 70 75 74 2e 20 20 4f 70 65 6e 69 6e 67 0a 20 ┆he diagnostic output. Opening ┆
0x07c0…07e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 77 69 6c 6c ┆ the terminal will┆
0x07e0…0800 20 75 73 75 61 6c 6c 79 20 69 6e 76 6f 6c 76 65 20 61 20 64 65 6c 61 79 2c 20 73 69 6e 63 65 20 ┆ usually involve a delay, since ┆
0x0800…0820 74 68 65 20 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆the _ o_ p_ e_ n ┆
0x0820…0840 20 20 69 73 20 20 6e 6f 74 20 20 63 6f 6d 70 6c 65 74 65 64 20 20 75 6e 74 69 6c 20 73 6f 6d 65 ┆ is not completed until some┆
0x0840…0860 6f 6e 65 20 69 73 20 64 69 61 6c 65 64 20 75 70 20 61 6e 64 20 63 61 72 72 69 65 72 0a 20 20 20 ┆one is dialed up and carrier ┆
0x0860…0880 20 20 20 20 20 20 20 20 20 20 20 20 20 65 73 74 61 62 6c 69 73 68 65 64 20 6f 6e 20 74 68 65 20 ┆ established on the ┆
0x0880…08a0 63 68 61 6e 6e 65 6c 2e 20 20 49 66 20 61 20 74 65 72 6d 69 6e 61 6c 20 65 78 69 73 74 73 20 20 ┆channel. If a terminal exists ┆
0x08a0…08c0 62 75 74 20 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 72 72 6f 72 20 20 6f ┆but an error o┆
0x08c0…08e0 63 63 75 72 73 20 20 77 68 65 6e 20 20 74 72 79 69 6e 67 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 ┆ccurs when trying to open the ┆
0x08e0…0900 74 65 72 6d 69 6e 61 6c 20 5f 08 69 5f 08 6e 5f 08 69 5f 08 74 20 63 6f 6d 2d 0a 20 20 20 20 20 ┆terminal _ i_ n_ i_ t com- ┆
0x0900…0920 20 20 20 20 20 20 20 20 20 20 20 70 6c 61 69 6e 73 20 62 79 20 77 72 69 74 69 6e 67 20 61 20 6d ┆ plains by writing a m┆
0x0920…0940 65 73 73 61 67 65 20 74 6f 20 20 74 68 65 20 20 73 79 73 74 65 6d 20 20 63 6f 6e 73 6f 6c 65 3b ┆essage to the system console;┆
0x0940…0960 20 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 20 69 ┆ the message i┆
0x0960…0980 73 20 72 65 70 65 61 74 65 64 20 65 76 65 72 79 20 31 30 20 6d 69 6e 75 74 65 73 20 66 6f 72 20 ┆s repeated every 10 minutes for ┆
0x0980…09a0 65 61 63 68 20 73 75 63 68 20 74 65 72 6d 69 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆each such termi- ┆
0x09a0…09c0 20 6e 61 6c 20 75 6e 74 69 6c 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 69 73 20 73 68 75 74 20 ┆ nal until the terminal is shut ┆
0x09c0…09e0 6f 66 66 20 69 6e 20 2f 65 74 63 2f 74 74 79 73 20 20 61 6e 64 20 20 69 6e 69 74 0a 20 20 20 20 ┆off in /etc/ttys and init ┆
0x09e0…0a00 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 65 64 20 20 28 62 79 20 61 20 68 61 6e 67 ┆ notified (by a hang┆
0x0a00…0a20 75 70 2c 20 61 73 20 64 65 73 63 72 69 62 65 64 20 62 65 6c 6f 77 29 2c 20 6f 72 20 74 68 65 20 ┆up, as described below), or the ┆
0x0a20…0a40 74 65 72 6d 69 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6c 20 62 65 63 6f 6d ┆termi- nal becom┆
0x0a40…0a60 65 73 20 61 63 63 65 73 73 69 62 6c 65 20 28 69 6e 69 74 20 63 68 65 63 6b 73 20 61 67 61 69 6e ┆es accessible (init checks again┆
0x0a60…0a80 20 20 65 76 65 72 79 20 20 6d 69 6e 75 74 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ every minute). ┆
0x0a80…0aa0 20 20 41 66 74 65 72 20 61 6e 20 6f 70 65 6e 20 73 75 63 63 65 65 64 73 2c 20 2f 5f 08 65 5f 08 ┆ After an open succeeds, /_ e_ ┆
0x0aa0…0ac0 74 5f 08 63 2f 5f 08 67 5f 08 65 5f 08 74 5f 08 74 5f 08 79 20 69 73 20 63 61 6c 6c 65 64 20 77 ┆t_ c/_ g_ e_ t_ t_ y is called w┆
0x0ac0…0ae0 69 74 68 20 61 72 67 75 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 73 20 ┆ith argument as ┆
0x0ae0…0b00 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 20 73 65 63 6f 6e 64 20 20 63 68 61 72 61 63 74 ┆specified by the second charact┆
0x0b00…0b20 65 72 20 20 6f 66 20 20 74 68 65 20 20 5f 08 74 5f 08 74 5f 08 79 5f 08 73 20 20 66 69 6c 65 0a ┆er of the _ t_ t_ y_ s file ┆
0x0b20…0b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 2e 20 20 20 5f 08 47 5f 08 65 5f 08 ┆ line. _ G_ e_ ┆
0x0b40…0b60 74 5f 08 74 5f 08 79 20 20 72 65 61 64 73 20 20 74 68 65 20 75 73 65 72 27 73 20 6e 61 6d 65 20 ┆t_ t_ y reads the user's name ┆
0x0b60…0b80 61 6e 64 20 69 6e 76 6f 6b 65 73 20 5f 08 6c 5f 08 6f 5f 08 67 5f 08 69 5f 08 6e 20 74 6f 0a 20 ┆and invokes _ l_ o_ g_ i_ n to ┆
0x0b80…0ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 67 20 69 6e 20 74 68 65 20 75 73 65 72 20 61 ┆ log in the user a┆
0x0ba0…0bc0 6e 64 20 65 78 65 63 75 74 65 20 74 68 65 20 53 68 65 6c 6c 2e 0a 0a 20 20 20 20 20 20 20 20 20 ┆nd execute the Shell. ┆
0x0bc0…0be0 20 20 20 20 20 20 20 55 6c 74 69 6d 61 74 65 6c 79 20 74 68 65 20 53 68 65 6c 6c 20 77 69 6c 6c ┆ Ultimately the Shell will┆
0x0be0…0c00 20 74 65 72 6d 69 6e 61 74 65 20 62 65 63 61 75 73 65 20 6f 66 20 61 6e 20 20 65 6e 64 2d 6f 66 ┆ terminate because of an end-of┆
0x0c00…0c20 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 20 20 65 69 74 68 65 72 20 20 ┆- file either ┆
0x0c20…0c40 74 79 70 65 64 20 65 78 70 6c 69 63 69 74 6c 79 20 6f 72 20 67 65 6e 65 72 61 74 65 64 20 61 73 ┆typed explicitly or generated as┆
0x0c40…0c60 20 61 20 72 65 73 75 6c 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e ┆ a result of han┆
0x0c60…0c80 67 69 6e 67 20 75 70 2e 20 20 54 68 65 20 6d 61 69 6e 20 70 61 74 68 20 6f 66 20 5f 08 69 5f 08 ┆ging up. The main path of _ i_ ┆
0x0c80…0ca0 6e 5f 08 69 5f 08 74 2c 20 77 68 69 63 68 20 68 61 73 20 62 65 65 6e 20 77 61 69 74 69 6e 67 0a ┆n_ i_ t, which has been waiting ┆
0x0ca0…0cc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 20 73 75 63 68 20 20 61 6e 20 20 65 ┆ for such an e┆
0x0cc0…0ce0 76 65 6e 74 2c 20 77 61 6b 65 73 20 75 70 20 61 6e 64 20 72 65 6d 6f 76 65 73 20 74 68 65 20 61 ┆vent, wakes up and removes the a┆
0x0ce0…0d00 70 70 72 6f 70 72 69 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 74 72 79 ┆ppropriate entry┆
0x0d00…0d20 20 66 72 6f 6d 20 74 68 65 20 66 69 6c 65 20 5f 08 75 5f 08 74 5f 08 6d 5f 08 70 2c 20 77 68 69 ┆ from the file _ u_ t_ m_ p, whi┆
0x0d20…0d40 63 68 20 72 65 63 6f 72 64 73 20 63 75 72 72 65 6e 74 20 75 73 65 72 73 2c 20 61 6e 64 0a 20 20 ┆ch records current users, and ┆
0x0d40…0d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 6b 65 73 20 61 6e 20 65 6e 74 72 79 20 69 6e 20 ┆ makes an entry in ┆
0x0d60…0d80 2f 5f 08 75 5f 08 73 5f 08 72 2f 5f 08 61 5f 08 64 5f 08 6d 2f 5f 08 77 5f 08 74 5f 08 6d 5f 08 ┆/_ u_ s_ r/_ a_ d_ m/_ w_ t_ m_ ┆
0x0d80…0da0 70 2c 20 77 68 69 63 68 20 6d 61 69 6e 74 61 69 6e 73 20 61 20 68 69 73 74 6f 72 79 0a 20 20 20 ┆p, which maintains a history ┆
0x0da0…0dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 6c 6f 67 69 6e 73 20 61 6e 64 20 6c 6f 67 6f 75 ┆ of logins and logou┆
0x0dc0…0de0 74 73 2e 20 20 54 68 65 20 5f 08 77 5f 08 74 5f 08 6d 5f 08 70 20 65 6e 74 72 79 20 69 73 20 6d ┆ts. The _ w_ t_ m_ p entry is m┆
0x0de0…0e00 61 64 65 20 6f 6e 6c 79 20 20 69 66 20 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ade only if a ┆
0x0e00…0e20 75 73 65 72 20 20 6c 6f 67 67 65 64 20 20 69 6e 20 20 73 75 63 63 65 73 73 66 75 6c 6c 79 20 20 ┆user logged in successfully ┆
0x0e20…0e40 6f 6e 20 20 74 68 65 20 20 6c 69 6e 65 2e 20 20 20 54 68 65 6e 20 20 74 68 65 0a 20 20 20 20 20 ┆on the line. Then the ┆
0x0e40…0e60 20 20 20 20 20 20 20 20 20 20 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 65 72 6d 69 6e 61 6c 20 ┆ appropriate terminal ┆
0x0e60…0e80 69 73 20 72 65 6f 70 65 6e 65 64 20 61 6e 64 20 5f 08 67 5f 08 65 5f 08 74 5f 08 74 5f 08 79 20 ┆is reopened and _ g_ e_ t_ t_ y ┆
0x0e80…0ea0 69 73 20 72 65 69 6e 76 6f 6b 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f ┆is reinvoked. _┆
0x0ea0…0ec0 08 49 5f 08 6e 5f 08 69 5f 08 74 20 63 61 74 63 68 65 73 20 74 68 65 20 5f 08 68 5f 08 61 5f 08 ┆ I_ n_ i_ t catches the _ h_ a_ ┆
0x0ec0…0ee0 6e 5f 08 67 5f 08 75 5f 08 70 20 73 69 67 6e 61 6c 20 28 73 69 67 6e 61 6c 20 53 49 47 48 55 50 ┆n_ g_ u_ p signal (signal SIGHUP┆
0x0ee0…0f00 29 20 61 6e 64 20 20 69 6e 74 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 ┆) and inter- pr┆
0x0f00…0f20 65 74 73 20 20 69 74 20 20 74 6f 20 20 6d 65 61 6e 20 74 68 61 74 20 74 68 65 20 66 69 6c 65 20 ┆ets it to mean that the file ┆
0x0f20…0f40 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f 08 74 5f 08 74 5f 08 79 5f 08 73 20 73 68 6f 75 6c 64 20 62 ┆/_ e_ t_ c/_ t_ t_ y_ s should b┆
0x0f40…0f60 65 20 72 65 61 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 67 61 69 6e 2e 20 20 54 ┆e read again. T┆
0x0f60…0f80 68 65 20 53 68 65 6c 6c 20 70 72 6f 63 65 73 73 20 6f 6e 20 65 61 63 68 20 6c 69 6e 65 20 77 68 ┆he Shell process on each line wh┆
0x0f80…0fa0 69 63 68 20 20 75 73 65 64 20 20 74 6f 20 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ich used to be ┆
0x0fa0…0fc0 20 20 61 63 74 69 76 65 20 69 6e 20 5f 08 74 5f 08 74 5f 08 79 5f 08 73 20 62 75 74 20 69 73 20 ┆ active in _ t_ t_ y_ s but is ┆
0x0fc0…0fe0 6e 6f 20 6c 6f 6e 67 65 72 20 74 68 65 72 65 20 69 73 20 74 65 72 6d 69 6e 61 74 65 64 3b 20 61 ┆no longer there is terminated; a┆
0x0fe0…1000 20 6e 65 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 20 69 73 20 ┆ new process is ┆
0x1000…1020 63 72 65 61 74 65 64 20 66 6f 72 20 65 61 63 68 20 61 64 64 65 64 20 6c 69 6e 65 3b 20 6c 69 6e ┆created for each added line; lin┆
0x1020…1040 65 73 20 75 6e 63 68 61 6e 67 65 64 20 69 6e 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆es unchanged in ┆
0x1040…1060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆
0x1060…1080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 31 0a 0a 0a ┆ 1 ┆
0x1080…10a0 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 49 4e 49 54 28 38 29 20 20 20 20 20 20 20 20 20 20 ┆ INIT(8) ┆
0x10a0…10c0 20 20 55 4e 49 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 4d 61 6e 75 61 6c 20 20 20 20 20 20 ┆ UNIX Programmer's Manual ┆
0x10c0…10e0 20 20 20 20 20 20 20 49 4e 49 54 28 38 29 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ INIT(8) ┆
0x10e0…1100 20 20 74 68 65 20 20 66 69 6c 65 20 61 72 65 20 75 6e 64 69 73 74 75 72 62 65 64 2e 20 20 54 68 ┆ the file are undisturbed. Th┆
0x1100…1120 75 73 20 69 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 64 72 6f 70 20 6f 72 0a 20 20 20 ┆us it is possible to drop or ┆
0x1120…1140 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 20 70 68 6f 6e 65 20 6c 69 6e 65 73 20 77 69 74 ┆ add phone lines wit┆
0x1140…1160 68 6f 75 74 20 72 65 62 6f 6f 74 69 6e 67 20 74 68 65 20 73 79 73 74 65 6d 20 20 62 79 20 20 63 ┆hout rebooting the system by c┆
0x1160…1180 68 61 6e 67 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 5f 08 74 5f ┆hanging the _ t_┆
0x1180…11a0 08 74 5f 08 79 5f 08 73 20 66 69 6c 65 20 61 6e 64 20 73 65 6e 64 69 6e 67 20 61 20 5f 08 68 5f ┆ t_ y_ s file and sending a _ h_┆
0x11a0…11c0 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 70 20 73 69 67 6e 61 6c 20 74 6f 20 74 68 65 20 5f 08 69 ┆ a_ n_ g_ u_ p signal to the _ i┆
0x11c0…11e0 5f 08 6e 5f 08 69 5f 08 74 20 70 72 6f 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 ┆_ n_ i_ t pro- c┆
0x11e0…1200 65 73 73 3a 20 75 73 65 20 60 6b 69 6c 6c 20 2d 48 55 50 20 31 2e 27 0a 0a 20 20 20 20 20 20 20 ┆ess: use `kill -HUP 1.' ┆
0x1200…1220 20 20 20 20 20 20 20 20 20 5f 08 49 5f 08 6e 5f 08 69 5f 08 74 20 20 77 69 6c 6c 20 20 74 65 72 ┆ _ I_ n_ i_ t will ter┆
0x1220…1240 6d 69 6e 61 74 65 20 20 6d 75 6c 74 69 2d 75 73 65 72 20 20 6f 70 65 72 61 74 69 6f 6e 73 20 20 ┆minate multi-user operations ┆
0x1240…1260 61 6e 64 20 20 72 65 73 75 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 6e 67 ┆and resume sing┆
0x1260…1280 6c 65 2d 75 73 65 72 20 20 6d 6f 64 65 20 20 69 66 20 73 65 6e 74 20 61 20 74 65 72 6d 69 6e 61 ┆le-user mode if sent a termina┆
0x1280…12a0 74 65 20 28 54 45 52 4d 29 20 73 69 67 6e 61 6c 2c 20 69 2e 65 2e 0a 20 20 20 20 20 20 20 20 20 ┆te (TERM) signal, i.e. ┆
0x12a0…12c0 20 20 20 20 20 20 20 60 60 6b 69 6c 6c 20 2d 54 45 52 4d 20 31 27 27 2e 20 20 20 49 66 20 20 74 ┆ ``kill -TERM 1''. If t┆
0x12c0…12e0 68 65 72 65 20 20 61 72 65 20 20 70 72 6f 63 65 73 73 65 73 20 20 6f 75 74 73 74 61 6e 64 69 6e ┆here are processes outstandin┆
0x12e0…1300 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 63 68 20 20 20 61 72 65 20 20 20 ┆g which are ┆
0x1300…1320 64 65 61 64 6c 6f 63 6b 65 64 20 20 28 64 75 65 20 20 74 6f 20 20 68 61 72 64 77 61 72 65 20 20 ┆deadlocked (due to hardware ┆
0x1320…1340 6f 72 20 20 73 6f 66 74 77 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 69 ┆or software fai┆
0x1340…1360 6c 75 72 65 29 2c 20 5f 08 69 5f 08 6e 5f 08 69 5f 08 74 20 77 69 6c 6c 20 6e 6f 74 20 77 61 69 ┆lure), _ i_ n_ i_ t will not wai┆
0x1360…1380 74 20 66 6f 72 20 74 68 65 6d 20 61 6c 6c 20 20 74 6f 20 20 64 69 65 20 20 28 77 68 69 63 68 0a ┆t for them all to die (which ┆
0x1380…13a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 67 68 74 20 20 74 61 6b 65 20 20 66 6f 72 ┆ might take for┆
0x13a0…13c0 65 76 65 72 29 2c 20 20 62 75 74 20 77 69 6c 6c 20 74 69 6d 65 20 6f 75 74 20 61 66 74 65 72 20 ┆ever), but will time out after ┆
0x13c0…13e0 33 30 20 73 65 63 6f 6e 64 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 70 ┆30 seconds and p┆
0x13e0…1400 72 69 6e 74 20 61 20 77 61 72 6e 69 6e 67 20 6d 65 73 73 61 67 65 2e 0a 0a 20 20 20 20 20 20 20 ┆rint a warning message. ┆
0x1400…1420 20 20 20 20 20 20 20 20 20 5f 08 49 5f 08 6e 5f 08 69 5f 08 74 20 77 69 6c 6c 20 63 65 61 73 65 ┆ _ I_ n_ i_ t will cease┆
0x1420…1440 20 63 72 65 61 74 69 6e 67 20 6e 65 77 20 5f 08 67 5f 08 65 5f 08 74 5f 08 74 5f 08 79 27 73 20 ┆ creating new _ g_ e_ t_ t_ y's ┆
0x1440…1460 61 6e 64 20 61 6c 6c 6f 77 20 74 68 65 20 20 73 79 73 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 ┆and allow the system ┆
0x1460…1480 20 20 20 20 20 20 74 6f 20 20 73 6c 6f 77 6c 79 20 20 64 69 65 20 61 77 61 79 2c 20 69 66 20 69 ┆ to slowly die away, if i┆
0x1480…14a0 74 20 69 73 20 73 65 6e 74 20 61 20 74 65 72 6d 69 6e 61 6c 20 73 74 6f 70 20 28 54 53 54 50 29 ┆t is sent a terminal stop (TSTP)┆
0x14a0…14c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 6e 61 6c 2c 20 69 2e 65 2e 20 60 60 ┆ signal, i.e. ``┆
0x14c0…14e0 6b 69 6c 6c 20 2d 54 53 54 50 20 31 27 27 2e 20 20 41 20 6c 61 74 65 72 20 68 61 6e 67 75 70 20 ┆kill -TSTP 1''. A later hangup ┆
0x14e0…1500 77 69 6c 6c 20 72 65 73 75 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6c 6c ┆will resume full┆
0x1500…1520 20 6d 75 6c 74 69 2d 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 73 2c 20 6f 72 20 61 20 74 65 72 ┆ multi-user operations, or a ter┆
0x1520…1540 6d 69 6e 61 74 65 20 77 69 6c 6c 20 69 6e 69 74 69 61 74 65 20 61 0a 20 20 20 20 20 20 20 20 20 ┆minate will initiate a ┆
0x1540…1560 20 20 20 20 20 20 20 73 69 6e 67 6c 65 20 75 73 65 72 20 73 68 65 6c 6c 2e 20 20 54 68 69 73 20 ┆ single user shell. This ┆
0x1560…1580 68 6f 6f 6b 20 69 73 20 20 75 73 65 64 20 20 62 79 20 20 5f 08 72 5f 08 65 5f 08 62 5f 08 6f 5f ┆hook is used by _ r_ e_ b_ o_┆
0x1580…15a0 08 6f 5f 08 74 28 38 29 20 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 ┆ o_ t(8) and _ ┆
0x15a0…15c0 68 5f 08 61 5f 08 6c 5f 08 74 28 38 29 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆h_ a_ l_ t(8). ┆
0x15c0…15e0 5f 08 49 5f 08 6e 5f 08 69 5f 08 74 27 5f 08 73 20 72 6f 6c 65 20 69 73 20 73 6f 20 63 72 69 74 ┆_ I_ n_ i_ t'_ s role is so crit┆
0x15e0…1600 69 63 61 6c 20 74 68 61 74 20 69 66 20 20 69 74 20 20 64 69 65 73 2c 20 20 74 68 65 20 20 73 79 ┆ical that if it dies, the sy┆
0x1600…1620 73 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6c 6c 20 20 72 65 62 6f 6f ┆stem will reboo┆
0x1620…1640 74 20 69 74 73 65 6c 66 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 2e 20 20 49 66 2c 20 61 74 20 ┆t itself automatically. If, at ┆
0x1640…1660 62 6f 6f 74 73 74 72 61 70 20 74 69 6d 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆bootstrap time, ┆
0x1660…1680 74 68 65 20 5f 08 69 5f 08 6e 5f 08 69 5f 08 74 20 70 72 6f 63 65 73 73 20 63 61 6e 6e 6f 74 20 ┆the _ i_ n_ i_ t process cannot ┆
0x1680…16a0 62 65 20 6c 6f 63 61 74 65 64 2c 20 74 68 65 20 73 79 73 74 65 6d 20 20 77 69 6c 6c 20 20 6c 6f ┆be located, the system will lo┆
0x16a0…16c0 6f 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 20 75 73 65 72 20 6d 6f 64 65 20 ┆op in user mode ┆
0x16c0…16e0 61 74 20 6c 6f 63 61 74 69 6f 6e 20 30 78 31 33 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 44 49 ┆at location 0x13. DI┆
0x16e0…1700 41 47 4e 4f 53 54 49 43 53 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 69 74 3a 20 ┆AGNOSTICS init: ┆
0x1700…1720 5f 08 74 5f 08 74 5f 08 79 3a 20 63 61 6e 6e 6f 74 20 6f 70 65 6e 2e 20 20 41 20 74 65 72 6d 69 ┆_ t_ t_ y: cannot open. A termi┆
0x1720…1740 6e 61 6c 20 77 68 69 63 68 20 69 73 20 74 75 72 6e 65 64 20 6f 6e 20 20 69 6e 0a 20 20 20 20 20 ┆nal which is turned on in ┆
0x1740…1760 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 5f 08 72 5f 08 63 20 66 69 6c 65 20 63 61 6e 6e 6f ┆ the _ r_ c file canno┆
0x1760…1780 74 20 62 65 20 6f 70 65 6e 65 64 2c 20 6c 69 6b 65 6c 79 20 62 65 63 61 75 73 65 20 74 68 65 20 ┆t be opened, likely because the ┆
0x1780…17a0 72 65 71 75 69 73 69 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 73 20 ┆requisite lines ┆
0x17a0…17c0 61 72 65 20 65 69 74 68 65 72 20 6e 6f 74 20 63 6f 6e 66 69 67 75 72 65 64 20 69 6e 74 6f 20 20 ┆are either not configured into ┆
0x17c0…17e0 74 68 65 20 20 73 79 73 74 65 6d 20 20 6f 72 20 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 ┆the system or the ┆
0x17e0…1800 20 20 20 20 20 61 73 73 6f 63 69 61 74 65 64 20 64 65 76 69 63 65 20 77 61 73 20 6e 6f 74 20 61 ┆ associated device was not a┆
0x1800…1820 74 74 61 63 68 65 64 20 64 75 72 69 6e 67 20 62 6f 6f 74 2d 74 69 6d 65 20 73 79 73 74 65 6d 0a ┆ttached during boot-time system ┆
0x1820…1840 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 0a 0a ┆ configuration. ┆
0x1840…1860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 57 41 52 4e 49 4e 47 3a 20 53 6f 6d 65 74 68 69 ┆ WARNING: Somethi┆
0x1860…1880 6e 67 20 69 73 20 68 75 6e 67 20 28 77 6f 6e 74 20 64 69 65 29 3b 20 70 73 20 61 78 6c 20 61 64 ┆ng is hung (wont die); ps axl ad┆
0x1880…18a0 76 69 73 65 64 2e 20 20 20 41 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 ┆vised. A proce┆
0x18a0…18c0 73 73 20 20 69 73 20 20 68 75 6e 67 20 20 61 6e 64 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 20 6b ┆ss is hung and could not be k┆
0x18c0…18e0 69 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 73 79 73 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 ┆illed when the system ┆
0x18e0…1900 20 20 20 20 20 20 77 61 73 20 73 68 75 74 74 69 6e 67 20 64 6f 77 6e 2e 20 20 54 68 69 73 20 69 ┆ was shutting down. This i┆
0x1900…1920 73 20 75 73 75 61 6c 6c 79 20 63 61 75 73 65 64 20 20 62 79 20 20 61 20 20 70 72 6f 63 65 73 73 ┆s usually caused by a process┆
[…truncated at 200 lines…]