⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fsck.1

📁 操作系统设计与实现源码
💻 1
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:03:48 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def    [psize 0 cheight slant sin slant cos div mul cheight 0 0]    makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig {	/SavedState save def	userdict maxlength dict begin	currentpoint transform	DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap		setlinewidth setmatrix	itransform moveto	/ury exch def	/urx exch def	/lly exch def	/llx exch def	/y exch 72 mul resolution div def	/x exch 72 mul resolution div def		currentpoint /cy exch def /cx exch def	/sx x urx llx sub div def	/sy y ury lly sub div def	sx sy scale	cx sx div llx sub	cy sy div ury sub translate		/DefFigCTM matrix currentmatrix def	/initmatrix {		DefFigCTM setmatrix	} def	/defaultmatrix {		DefFigCTM exch copy	} def	/initgraphics {		DocumentInitState setmiterlimit setgray setdash 			setlinejoin setlinecap setlinewidth setmatrix		DefFigCTM setmatrix	} def	/showpage {		initgraphics	} def}bind  def/clipFig {	currentpoint 6 2 roll	newpath 4 copy	4 2 roll moveto	6 -1 roll exch lineto	exch lineto	exch lineto	closepath clip	newpath	moveto}bind  def/doclip { llx lly urx ury clipFig } def/endFig {	end SavedState restore}bind  def/globalstart {	fontnum psize slant height resolution currentpoint 	pagesave restore gsave }bind  def/globalend {	grestore moveto	/resolution exch def /height exch def	/slant exch def /psize exch def /fontnum exch def	F	/pagesave save def}bind  def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont dup maxlength dict /newdict exch def % get dictionary for new font{ exch dup /FID ne   { exch newdict 3 1 roll put }   { pop pop } % Ignore FID   ifelse} forallnewdict begin/Encoding  tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval  cvn load  def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % Enc-dict} def/Times-Roman 1 AEnc-def pop/R-1{/Times-Roman-1 FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(FSCK)S980(\()S1022(1)S1080(\))S2696(Eighth)S(Edition)296 2989 A4867(FSCK)S5127(\()S5169(1)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(fsck,)S1298(fsck1)S10 R-11541(-)S10 R1623(perform)S1973(\256le)S2127(system)S2431(consistency)S2925(check)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(fsck)S10 R1292([)S10 B-11326(-)S10 B1383(aclmrs)S10 R1674(])S1746([)S10 I1780(device)S10 R2038(])S(...)75 2110 A1536 V9 R720(O)S722(OP)S790(PT)S842(TI)S900(IO)S933(ON)S1001(NS)S1069(S)S1656 V10 B-11080(-)S10 B1137(a)S10 R1440(Automatically)S2041(repair)S2302(inconsistencies)S1824 V10 B-11080(-)S10 B1137(c)S10 R1440(Check)S1722(and)S1892(list)S2040(only)S2243(the)S2391(speci\256ed)S(i-nodes)296 2774 A1992 V10 B-11080(-)S10 B1137(l)S10 R1440(List)S1622(the)S1770(\256les)S1963(and)S2133(directories)S2584(in)S2687(the)S2835(\256lesytem)S2160 V10 B-11080(-)S10 B1137(r)S10 R1440(Prompt)S1761(user)S1954(for)S2097(repairs)S2397(if)S2484(inconsistencies)S3118(are)S(found)234 3267 A2328 V10 B-11080(-)S10 B1137(s)S10 R1440(List)S1622(the)S1770(superblock)S2236(of)S2345(the)S2493(\256le)S2647(system)S2496 V9 R720(E)S722(EX)S780(XA)S848(AM)S916(MP)S998(PL)S1050(LE)S1108(ES)S1166(S)S2616 V10 B1080(fsck)S1279(/dev/hd4)S10 R2080(#)S2155(Check)S2437(\256le)S2591(system)S2895(on)S10 I(/dev/hd4)346 3020 A2784 V10 B1080(fsck)S10 B-11279(-)S10 B1336(a)S1411(/dev/at0)S10 R2080(#)S2155(Automatically)S2756(\256x)S2887(errors)S3148(on)S10 I3273(/dev/at0)S2952 V10 B1080(fsck)S10 B-11279(-)S10 B1336(l)S1389(/dev/fd0)S10 R2080(#)S2155(List)S2337(the)S2485(contents)S2845(of)S10 I2954(/dev/fd0)S3120 V10 B1080(fsck)S10 B-11279(-)S10 B1336(c)S1406(2)S1481(3)S1556(/dev/hd3)S10 R2080(#)S2155(Check)S2437(and)S2607(list)S10 I(/dev/hd3)346 2755 A10 R(i-nodes)296 3126 A3447(2)S3522(&)S3625(3)S3288 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S3408 V10 I1080(Fsck)S10 R1303(performs)S1699(consistency)S2200(checks)S2506(on)S2638(the)S2793(\256le)S2954(systems)S3304(which)S3582(reside)S3855(on)S3988(the)S4144(speci\256ed)S4535(devices.)S10 I4920(Fsck1)S10 R5194(is)S3528 V1080(an)S1205(alternate)S1583(version)S1909(for)S2057(use)S2221(on)S2351(obsolete)S2716(V1)S2869(\256le)S3028(systems.)S3426(When)S3696(either)S3956(the)S10 B-14109(-)S10 B4166(a)S10 R4245(or)S10 B-14358(-)S10 B4415(r)S10 R4489(\257ags)S4708(are)S4861(given,)S5138(the)S3648 V1080(\256le)S1240(system)S(will)157 1550 A1738(be)S1864(repaired)S2226(if)S2319(errors)S2586(are)S(found.)259 2741 A3056(Before)S(running)312 3362 A10 I3705(fsck)S10 R3893(on)S4024(a)S(mounted)351 4100 A4482(\256le)S4642(system,)S4978(it)S5066(must)S3768 V1080(\256rst)S1262(be)S(unmounted.)476 1382 A1908(Trying)S2207(to)S2310(repair)S2571(a)S(mounted)351 2641 A3017(\256le)S3171(system)S3475(is)S3567(dangerous)S4005(and)S(should)267 4175 A4467(not)S4620(be)S4740(attempted.)S3936 V1080(To)S1224(repair)S1492(the)S1647(root)S1841(\256le)S2002(system)S2313(\(which)S(cannot)268 2625 A2925(be)S(unmounted\),)510 3052 A3594(\256rst)S3783(type)S3988(CTRL-F9)S4418(at)S4523(the)S4678(console)S5017(to)S(kill)134 5127 A4056 V1080(any)S1252(and)S1424(all)S1552(processes.)S2015(Log)S2204(back)S2421(in)S2525(as)S10 B2635(root)S10 R2814(,)S2865(type)S10 I3064(sync)S10 R3269(to)S3373(force)S3607(any)S3778(buffered)S4146(changes)S4496(to)S4600(disk,)S4818(run)S10 I4978(fsck)S10 R5161(on)S4176 V1080(the)S1228(root)S1415(\256le)S1569(system)S1873(and)S2043(immediately)S(reboot)257 2571 A2853(the)S3001(computer)S3406(by)S3531(typing)S10 I(reboot)262 3812 A10 R4074(.)S4344 V1080(It)S1168(is)S(necessary)392 1261 A1679(to)S(kill)134 1783 A1943(all)S2070(processes)S2482(before)S2766(repairing)S3157(the)S3307(root)S3496(\256le)S3652(system)S3958(to)S4063(prevent)S4392(them)S4620(from)S4843(modifying)S4464 V1080(any)S1252(disk)S1446(blocks)S1735(while)S10 I1986(fsck)S10 R2170(is)S(running.)337 2264 A2653(This)S2859(is)S2952(only)S(necessary)392 3156 A3574(for)S3718(the)S3867(root)S4055(\256le)S4210(system,)S4540(any)S4711(other)S4944(\256le)S5099(sys-)S4584 V1080(tem)S1256(can)S1421(simply)S1719(be)S(unmounted)451 1839 A2315(before)S2598(it)S2679(is)S2771(checked.)S4752 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S4872 V10 B1080(mkfs)S10 R1293(\(1\),)S10 B1461(mount)S10 R1741(\(1\).)S7903 V720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -