📄 init.8
字号:
3169(and)S3348(starts)S3595(processes)S4015(on)S(each)185 4149 A4368(enabled)S4715(terminal)S5085(line.)S6168 V1080(The)S1268(\256le)S10 B1428(/etc/ttytab)S10 R1897(contains)S2263(a)S2339(list)S2493(of)S2608(terminal)S2975(devices,)S3333(their)S3549(terminal)S3916(types,)S4184(the)S4338(program)S4711(to)S4821(execute)S5161(on)S6288 V1080(them)S1308(to)S1413(allow)S1664(one)S1835(to)S1939(login)S2171(\(usually)S10 B2521(getty)S10 R2734(\(8\)\),)S2937(and)S3108(the)S3257(program)S3624(to)S3728(execute)S4062(\256rst)S4245(to)S(initialize)353 4349 A4728(the)S4877(line)S5054(\(usu-)S6408 V1080(ally)S10 B1262(stty)S10 R1419(\(1\)\).)S1652(These)S1924(\256elds)S2173(may)S2377(be)S2503(left)S2669(out)S2828(to)S2937(indicate)S3287(that)S3469(a)S3545(line)S3728(is)S3827(disabled)S4194(or)S4310(that)S(initialization)509 4493 A5034(is)S5133(not)S6528 V(necessary.)417 1080 A1547(The)S1729(commands)S2189(are)S2338(searched)S2716(using)S2958(the)S3106(path)S10 B3304(/sbin:/bin:/usr/sbin:/usr/bin)S10 R4492(.)S6696 V10 B1080(Init)S10 R(accepts)297 1264 A1588(several)S1901(signals)S2207(that)S2385(must)S2608(be)S2731(sent)S2921(to)S3027(process)S3357(id)S3463(1.)S3591(\(It)S3715(is)S3810(the)S3961(\256rst)S4146(process,)S4501(so)S4618(natually)S4970(its)S5093(pro-)S6816 V1080(cess)S1273(id)S1376(is)S1468(1.\))S1627(The)S1809(signals)S2113(are:)S6984 V10 B1080(SIGHUP)S7104 V10 R1440(When)S(receiving)375 1710 A2116(a)S(hangup)295 2192 A2518(signal,)S10 B2814(init)S10 R(will)157 2991 A3179(forget)S(about)223 3451 A3705(errors)S3972(and)S4148(rescan)S10 B4437(ttytab)S10 R4726(for)S4875(processes)S7224 V1440(to)S1550(execute.)S10 B1940(Init)S10 R2129(normally)S2524(rescans)S10 B2853(ttytab)S10 R(each)185 3143 A3360(time)S3571(it)S3659(feels)S3882(the)S4037(need)S4259(to)S4369(respawn)S4737(a)S4814(process,)S5172(so)S7344 V1440(the)S(hangup)295 1588 A1908(signal)S2173(is)S2265(only)S2468(needed)S2778(if)S2865(a)S2935(line)S3111(has)S3270(been)S3485(shut)S3677(down,)S3950(or)S4059(after)S4271(a)S4342(terminate)S4749(signal.)S5065(Note)S7464 V1440(that)S1619(after)S1832(turning)S2149(a)S2221(line)S2399(off)S(you)150 2544 A(will)157 2721 A2905(have)S3122(to)S(kill)134 3227 A3388(the)S3538(process)S(running)312 3867 A4206(on)S4333(that)S4511(line)S4689(manually,)S10 B5115(init)S7903 V10 R720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Page: 2 2BP/slant 0 def/height 0 def480 V10 R720(INIT)S931(\()S973(8)S1031(\))S2696(Eighth)S(Edition)296 2989 A4916(INIT)S5127(\()S5169(8)S5227(\))S960 V1440(doesn't)S1761(do)S1886(that)S2062(for)S(you.)175 2205 A1128 V10 B1080(SIGTERM)S1248 V10 R1440(Normally)S1870(sent)S2076(by)S2220(programs)S2644(that)S2840(halt)S3036(or)S(reboot)257 3165 A3467(Minix.)S3807(Causes)S10 B4137(init)S10 R4328(to)S4451(stop)S4663(spawning)S5093(new)S1368 V1440(processes.)S1536 V10 B1080(SIGABRT)S1656 V10 R1440(Sent)S1654(by)S1789(the)S(keyboard)374 1947 A2357(driver)S2634(when)S2888(the)S10 B3047(CTRL-ALT-DEL)S10 R3845(key)S4026(combination)S4564(is)S4667(typed.)S4976(Causes)S1776 V10 B1440(init)S10 R1614(to)S1720(run)S1882(the)S10 B2033(shutdown)S10 R2481(command.)S2955(A)S(second)279 3055 A3361(abort)S3595(signal)S3862(makes)S10 B4146(init)S10 R4319(halt)S4497(the)S4647(system)S4953(directly)S1896 V1440(with)S1663(a)S1752(system)S2076(call.)S2317(The)S(keyboard)374 2519 A2938(driver)S3224(halts)S3459(the)S3627(system,)S(without)307 3976 A4328(a)S4418(sync,)S4672(after)S4903(the)S5071(third)S2016 V1440(CTRL-ALT-DEL.)S2184 V870(M)S872(Mi)S963(in)S993(ni)S1045(ix)S1075(x)S1152(v)S1154(vs)S1206(s.)S1247(.)S1299(M)S1301(Mi)S1392(in)S1422(ni)S1474(ix)S1504(x-)S1556(-v)S1592(vm)S1644(md)S1724(d)S2304 V1080(There)S1341(are)S1490(a)S1560(few)S1737(differences)S2211(between)S2572(standard)S2938(Minix)S3208(and)S3378(Minix-vmd)S3860(on)S3985(how)S10 B4183(init)S10 R4354(is)S4446(run.)S4655(The)S10 B4837(/etc/rc)S10 R5132(\256le)S2424 V1080(is)S1183(executed)S(under)229 1577 A1842(standard)S2219(Minix)S2500(with)S(input)206 2715 A(connected)408 2957 A3401(to)S10 B3515(/dev/console)S10 R4035(,)S4095(but)S(under)229 4258 A4522(Minix-vmd)S5014(this)S5194(is)S2544 V(still)151 1080 A10 B1261(/dev/null)S10 R1636(.)S1716(This)S1925(means)S2212(that)S(under)229 2393 A2652(Minix-vmd)S3139(processes)S3555(must)S3780(be)S(reconnected)487 3905 A4422(to)S10 B4531(/dev/console)S10 R5082(with)S2664 V1080(the)S10 B1233(intr)S10 R1426(program)S1797(if)S1889(they)S2092(need)S2312(user)S2510(interaction.)S3021(Minix-vmd)S3508(passes)S3795(the)S3948(value)S4196(of)S4310(the)S10 B4463(bootopts)S10 R(boot)178 4862 A5070(vari-)S2784 V1080(able)S1273(to)S1376(/etc/rc.)S1704(Standard)S2087(Minix)S2357(does)S2566(not.)S2952 V9 R720(F)S722(FI)S774(IL)S807(LE)S865(ES)S923(S)S3072 V10 B1080(/etc/ttytab)S10 R2330(List)S2512(of)S2621(terminals)S3021(devices.)S3240 V10 B1080(/etc/utmp)S10 R2330(List)S2512(of)S2621(currently)S(logged)273 3010 A3308(in)S3411(users.)S3408 V10 B1080(/usr/adm/wtmp)S10 R(Login/logout)524 2330 A2879(history.)S3576 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S3696 V10 B1080(ttytab)S10 R1338(\(5\),)S10 B1506(utmp)S10 R1736(\(5\),)S10 B1904(getty)S10 R2117(\(8\),)S10 B2285(stty)S10 R2442(\(1\),)S10 B2610(boot)S10 R2800(\(8\).)S3864 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S1052(R)S3984 V10 R1080(Kees)S1307(J.)S1396(Bot)S1566(\(kjb@cs.vu.nl\))S7903 V720(September)S1176(13,)S(1996)200 1326 A4990(Page)S5211(2)S8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Courier%%Pages: 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -