fhs-2.3.html 179 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML
  3. ><HEAD
  4. ><script>function PrivoxyWindowOpen(){return(null);}</script><TITLE
  5. >Filesystem Hierarchy Standard</TITLE
  6. ><META
  7. NAME="GENERATOR"
  8. CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
  9. ><BODY
  10. CLASS="BOOK"
  11. ><DIV
  12. CLASS="BOOK"
  13. ><A
  14. NAME="AEN1"
  15. ></A
  16. ><DIV
  17. CLASS="TITLEPAGE"
  18. ><H1
  19. CLASS="TITLE"
  20. ><A
  21. NAME="AEN2"
  22. >Filesystem Hierarchy Standard</A
  23. ></H1
  24. ><H3
  25. CLASS="CORPAUTHOR"
  26. >Filesystem Hierarchy Standard Group</H3
  27. ><H4
  28. CLASS="EDITEDBY"
  29. >Edited by</H4
  30. ><H3
  31. CLASS="EDITOR"
  32. >Rusty Russell</H3
  33. ><H3
  34. CLASS="EDITOR"
  35. >Daniel Quinlan</H3
  36. ><H3
  37. CLASS="EDITOR"
  38. >Christopher Yeoh</H3
  39. ><P
  40. CLASS="COPYRIGHT"
  41. >Copyright &copy; 1994-2004 Daniel Quinlan</P
  42. ><P
  43. CLASS="COPYRIGHT"
  44. >Copyright &copy; 2001-2004 Paul 'Rusty' Russell</P
  45. ><P
  46. CLASS="COPYRIGHT"
  47. >Copyright &copy; 2003-2004 Christopher Yeoh</P
  48. ><DIV
  49. ><DIV
  50. CLASS="ABSTRACT"
  51. ><P
  52. ></P
  53. ><A
  54. NAME="AEN30"
  55. ></A
  56. ><P
  57. >This standard consists of a set of requirements and guidelines for file
  58. and directory placement under UNIX-like operating systems. The
  59. guidelines are intended to support interoperability of applications,
  60. system administration tools, development tools, and scripts as well as
  61. greater uniformity of documentation for these systems.</P
  62. ><P
  63. ></P
  64. ></DIV
  65. ></DIV
  66. ><DIV
  67. CLASS="LEGALNOTICE"
  68. ><P
  69. ></P
  70. ><A
  71. NAME="AEN25"
  72. ></A
  73. ><P
  74. >All trademarks and copyrights are owned by their owners, unless
  75. specifically noted otherwise. Use of a term in this document should not
  76. be regarded as affecting the validity of any trademark or service
  77. mark.</P
  78. ><P
  79. >Permission is granted to make and distribute verbatim copies of
  80. this standard provided the copyright and this permission notice are
  81. preserved on all copies.</P
  82. ><P
  83. >Permission is granted to copy and distribute modified versions of this
  84. standard under the conditions for verbatim copying, provided also that
  85. the title page is labeled as modified including a reference to the
  86. original standard, provided that information on retrieving the original
  87. standard is included, and provided that the entire resulting derived
  88. work is distributed under the terms of a permission notice identical to
  89. this one.</P
  90. ><P
  91. >Permission is granted to copy and distribute translations of this
  92. standard into another language, under the above conditions for modified
  93. versions, except that this permission notice may be stated in a
  94. translation approved by the copyright holder.</P
  95. ><P
  96. ></P
  97. ></DIV
  98. ><HR></DIV
  99. ><DIV
  100. CLASS="TOC"
  101. ><DL
  102. ><DT
  103. ><B
  104. >Table of Contents</B
  105. ></DT
  106. ><DT
  107. >1. <A
  108. HREF="#INTRODUCTION"
  109. >Introduction</A
  110. ></DT
  111. ><DD
  112. ><DL
  113. ><DT
  114. ><A
  115. HREF="#PURPOSE"
  116. >Purpose</A
  117. ></DT
  118. ><DT
  119. ><A
  120. HREF="#CONVENTIONS"
  121. >Conventions</A
  122. ></DT
  123. ></DL
  124. ></DD
  125. ><DT
  126. >2. <A
  127. HREF="#THEFILESYSTEM"
  128. >The Filesystem</A
  129. ></DT
  130. ><DT
  131. >3. <A
  132. HREF="#THEROOTFILESYSTEM"
  133. >The Root Filesystem</A
  134. ></DT
  135. ><DD
  136. ><DL
  137. ><DT
  138. ><A
  139. HREF="#PURPOSE2"
  140. >Purpose</A
  141. ></DT
  142. ><DT
  143. ><A
  144. HREF="#REQUIREMENTS"
  145. >Requirements</A
  146. ></DT
  147. ><DT
  148. ><A
  149. HREF="#SPECIFICOPTIONS"
  150. >Specific Options</A
  151. ></DT
  152. ><DT
  153. ><A
  154. HREF="#BINESSENTIALUSERCOMMANDBINARIES"
  155. >/bin : Essential user command binaries (for use by all users)</A
  156. ></DT
  157. ><DD
  158. ><DL
  159. ><DT
  160. ><A
  161. HREF="#PURPOSE3"
  162. >Purpose</A
  163. ></DT
  164. ><DT
  165. ><A
  166. HREF="#REQUIREMENTS2"
  167. >Requirements</A
  168. ></DT
  169. ><DT
  170. ><A
  171. HREF="#SPECIFICOPTIONS2"
  172. >Specific Options</A
  173. ></DT
  174. ></DL
  175. ></DD
  176. ><DT
  177. ><A
  178. HREF="#BOOTSTATICFILESOFTHEBOOTLOADER"
  179. >/boot : Static files of the boot loader</A
  180. ></DT
  181. ><DD
  182. ><DL
  183. ><DT
  184. ><A
  185. HREF="#PURPOSE4"
  186. >Purpose</A
  187. ></DT
  188. ><DT
  189. ><A
  190. HREF="#SPECIFICOPTIONS3"
  191. >Specific Options</A
  192. ></DT
  193. ></DL
  194. ></DD
  195. ><DT
  196. ><A
  197. HREF="#DEVDEVICEFILES"
  198. >/dev : Device files</A
  199. ></DT
  200. ><DD
  201. ><DL
  202. ><DT
  203. ><A
  204. HREF="#PURPOSE5"
  205. >Purpose</A
  206. ></DT
  207. ><DT
  208. ><A
  209. HREF="#SPECIFICOPTIONS4"
  210. >Specific Options</A
  211. ></DT
  212. ></DL
  213. ></DD
  214. ><DT
  215. ><A
  216. HREF="#ETCHOSTSPECIFICSYSTEMCONFIGURATION"
  217. >/etc : Host-specific system configuration</A
  218. ></DT
  219. ><DD
  220. ><DL
  221. ><DT
  222. ><A
  223. HREF="#PURPOSE6"
  224. >Purpose</A
  225. ></DT
  226. ><DT
  227. ><A
  228. HREF="#REQUIREMENTS3"
  229. >Requirements</A
  230. ></DT
  231. ><DT
  232. ><A
  233. HREF="#SPECIFICOPTIONS5"
  234. >Specific Options</A
  235. ></DT
  236. ><DT
  237. ><A
  238. HREF="#ETCOPTCONFIGURATIONFILESFOROPT"
  239. >/etc/opt : Configuration files for /opt</A
  240. ></DT
  241. ><DT
  242. ><A
  243. HREF="#ETCX11CONFIGURATIONFORTHEXWINDOWS"
  244. >/etc/X11 : Configuration for the X Window System (optional)</A
  245. ></DT
  246. ><DT
  247. ><A
  248. HREF="#ETCSGMLCONFIGURATIONFILESFORSGMLAN"
  249. >/etc/sgml : Configuration files for SGML (optional)</A
  250. ></DT
  251. ><DT
  252. ><A
  253. HREF="#AEN795"
  254. >/etc/xml : Configuration files for XML (optional)</A
  255. ></DT
  256. ></DL
  257. ></DD
  258. ><DT
  259. ><A
  260. HREF="#HOMEUSERHOMEDIRECTORIES"
  261. >/home : User home directories (optional)</A
  262. ></DT
  263. ><DD
  264. ><DL
  265. ><DT
  266. ><A
  267. HREF="#PURPOSE10"
  268. >Purpose</A
  269. ></DT
  270. ><DT
  271. ><A
  272. HREF="#REQUIREMENTS4A"
  273. >Requirements</A
  274. ></DT
  275. ></DL
  276. ></DD
  277. ><DT
  278. ><A
  279. HREF="#LIBESSENTIALSHAREDLIBRARIESANDKERN"
  280. >/lib : Essential shared libraries and kernel modules</A
  281. ></DT
  282. ><DD
  283. ><DL
  284. ><DT
  285. ><A
  286. HREF="#PURPOSE11"
  287. >Purpose</A
  288. ></DT
  289. ><DT
  290. ><A
  291. HREF="#REQUIREMENTS5"
  292. >Requirements</A
  293. ></DT
  294. ><DT
  295. ><A
  296. HREF="#SPECIFICOPTIONS7"
  297. >Specific Options</A
  298. ></DT
  299. ></DL
  300. ></DD
  301. ><DT
  302. ><A
  303. HREF="#LIBLTQUALGTALTERNATEFORMATESSENTIAL"
  304. >/lib&lt;qual&gt; : Alternate format essential shared libraries (optional)</A
  305. ></DT
  306. ><DD
  307. ><DL
  308. ><DT
  309. ><A
  310. HREF="#PURPOSE12"
  311. >Purpose</A
  312. ></DT
  313. ><DT
  314. ><A
  315. HREF="#REQUIREMENTS6"
  316. >Requirements</A
  317. ></DT
  318. ></DL
  319. ></DD
  320. ><DT
  321. ><A
  322. HREF="#MEDIAMOUNTPOINT"
  323. >/media : Mount point for removeable media</A
  324. ></DT
  325. ><DD
  326. ><DL
  327. ><DT
  328. ><A
  329. HREF="#PURPOSEMEDIAMOUNTPOINT"
  330. >Purpose</A
  331. ></DT
  332. ><DT
  333. ><A
  334. HREF="#SPECIFICOPTIONSMEDIAMOUNT"
  335. >Specific Options</A
  336. ></DT
  337. ></DL
  338. ></DD
  339. ><DT
  340. ><A
  341. HREF="#MNTMOUNTPOINTFORATEMPORARILYMOUNT"
  342. >/mnt : Mount point for a temporarily mounted filesystem</A
  343. ></DT
  344. ><DD
  345. ><DL
  346. ><DT
  347. ><A
  348. HREF="#PURPOSE13"
  349. >Purpose</A
  350. ></DT
  351. ></DL
  352. ></DD
  353. ><DT
  354. ><A
  355. HREF="#OPTADDONAPPLICATIONSOFTWAREPACKAGES"
  356. >/opt : Add-on application software packages</A
  357. ></DT
  358. ><DD
  359. ><DL
  360. ><DT
  361. ><A
  362. HREF="#PURPOSE14"
  363. >Purpose</A
  364. ></DT
  365. ><DT
  366. ><A
  367. HREF="#REQUIREMENTS7"
  368. >Requirements</A
  369. ></DT
  370. ></DL
  371. ></DD
  372. ><DT
  373. ><A
  374. HREF="#ROOTHOMEDIRECTORYFORTHEROOTUSER"
  375. >/root : Home directory for the root user (optional)</A
  376. ></DT
  377. ><DD
  378. ><DL
  379. ><DT
  380. ><A
  381. HREF="#PURPOSE15"
  382. >Purpose</A
  383. ></DT
  384. ></DL
  385. ></DD
  386. ><DT
  387. ><A
  388. HREF="#SBINSYSTEMBINARIES"
  389. >/sbin : System binaries</A
  390. ></DT
  391. ><DD
  392. ><DL
  393. ><DT
  394. ><A
  395. HREF="#PURPOSE16"
  396. >Purpose</A
  397. ></DT
  398. ><DT
  399. ><A
  400. HREF="#REQUIREMENTS8"
  401. >Requirements</A
  402. ></DT
  403. ><DT
  404. ><A
  405. HREF="#SPECIFICOPTIONS8"
  406. >Specific Options</A
  407. ></DT
  408. ></DL
  409. ></DD
  410. ><DT
  411. ><A
  412. HREF="#SRVDATAFORSERVICESPROVIDEDBYSYSTEM"
  413. >/srv : Data for services provided by this system</A
  414. ></DT
  415. ><DD
  416. ><DL
  417. ><DT
  418. ><A
  419. HREF="#PURPOSE16A"
  420. >Purpose</A
  421. ></DT
  422. ></DL
  423. ></DD
  424. ><DT
  425. ><A
  426. HREF="#TMPTEMPORARYFILES"
  427. >/tmp : Temporary files</A
  428. ></DT
  429. ><DD
  430. ><DL
  431. ><DT
  432. ><A
  433. HREF="#PURPOSE17"
  434. >Purpose</A
  435. ></DT
  436. ></DL
  437. ></DD
  438. ></DL
  439. ></DD
  440. ><DT
  441. >4. <A
  442. HREF="#THEUSRHIERARCHY"
  443. >The /usr Hierarchy</A
  444. ></DT
  445. ><DD
  446. ><DL
  447. ><DT
  448. ><A
  449. HREF="#PURPOSE18"
  450. >Purpose</A
  451. ></DT
  452. ><DT
  453. ><A
  454. HREF="#REQUIREMENTS9"
  455. >Requirements</A
  456. ></DT
  457. ><DT
  458. ><A
  459. HREF="#SPECIFICOPTIONS9"
  460. >Specific Options</A
  461. ></DT
  462. ><DT
  463. ><A
  464. HREF="#USRX11R6XWINDOWSYSTEMVERSION11REL"
  465. >/usr/X11R6 : X Window System, Version 11 Release 6 (optional)</A
  466. ></DT
  467. ><DD
  468. ><DL
  469. ><DT
  470. ><A
  471. HREF="#PURPOSE19"
  472. >Purpose</A
  473. ></DT
  474. ><DT
  475. ><A
  476. HREF="#SPECIFICOPTIONS10"
  477. >Specific Options</A
  478. ></DT
  479. ></DL
  480. ></DD
  481. ><DT
  482. ><A
  483. HREF="#USRBINMOSTUSERCOMMANDS"
  484. >/usr/bin : Most user commands</A
  485. ></DT
  486. ><DD
  487. ><DL
  488. ><DT
  489. ><A
  490. HREF="#PURPOSE20"
  491. >Purpose</A
  492. ></DT
  493. ><DT
  494. ><A
  495. HREF="#SPECIFICOPTIONS11"
  496. >Specific Options</A
  497. ></DT
  498. ></DL
  499. ></DD
  500. ><DT
  501. ><A
  502. HREF="#USRINCLUDEDIRECTORYFORSTANDARDINCLU"
  503. >/usr/include : Directory for standard include files.</A
  504. ></DT
  505. ><DD
  506. ><DL
  507. ><DT
  508. ><A
  509. HREF="#PURPOSE21"
  510. >Purpose</A
  511. ></DT
  512. ><DT
  513. ><A
  514. HREF="#SPECIFICOPTIONS12"
  515. >Specific Options</A
  516. ></DT
  517. ></DL
  518. ></DD
  519. ><DT
  520. ><A
  521. HREF="#USRLIBLIBRARIESFORPROGRAMMINGANDPA"
  522. >/usr/lib : Libraries for programming and packages</A
  523. ></DT
  524. ><DD
  525. ><DL
  526. ><DT
  527. ><A
  528. HREF="#PURPOSE22"
  529. >Purpose</A
  530. ></DT
  531. ><DT
  532. ><A
  533. HREF="#SPECIFICOPTIONS13"
  534. >Specific Options</A
  535. ></DT
  536. ></DL
  537. ></DD
  538. ><DT
  539. ><A
  540. HREF="#USRLIBLTQUALGTALTERNATEFORMATLIBRARI"
  541. >/usr/lib&lt;qual&gt; : Alternate format libraries (optional)</A
  542. ></DT
  543. ><DD
  544. ><DL
  545. ><DT
  546. ><A
  547. HREF="#PURPOSE23"
  548. >Purpose</A
  549. ></DT
  550. ><DT
  551. ><A
  552. HREF="#USRLOCALLOCALHIERARCHY"
  553. >/usr/local : Local hierarchy</A
  554. ></DT
  555. ></DL
  556. ></DD
  557. ><DT
  558. ><A
  559. HREF="#USRLOCALSHARE1"
  560. >/usr/local/share</A
  561. ></DT
  562. ><DT
  563. ><A
  564. HREF="#USRSBINNONESSENTIALSTANDARDSYSTEMBI"
  565. >/usr/sbin : Non-essential standard system binaries</A
  566. ></DT
  567. ><DD
  568. ><DL
  569. ><DT
  570. ><A
  571. HREF="#PURPOSE25"
  572. >Purpose</A
  573. ></DT
  574. ></DL
  575. ></DD
  576. ><DT
  577. ><A
  578. HREF="#USRSHAREARCHITECTUREINDEPENDENTDATA"
  579. >/usr/share : Architecture-independent data</A
  580. ></DT
  581. ><DD
  582. ><DL
  583. ><DT
  584. ><A
  585. HREF="#PURPOSE26"
  586. >Purpose</A
  587. ></DT
  588. ><DT
  589. ><A
  590. HREF="#REQUIREMENTS11"
  591. >Requirements</A
  592. ></DT
  593. ><DT
  594. ><A
  595. HREF="#SPECIFICOPTIONS15"
  596. >Specific Options</A
  597. ></DT
  598. ><DT
  599. ><A
  600. HREF="#USRSHAREDICTWORDLISTS"
  601. >/usr/share/dict : Word lists (optional)</A
  602. ></DT
  603. ><DT
  604. ><A
  605. HREF="#USRSHAREMANMANUALPAGES"
  606. >/usr/share/man : Manual pages</A
  607. ></DT
  608. ><DT
  609. ><A
  610. HREF="#USRSHAREMISCMISCELLANEOUSARCHITECTURE"
  611. >/usr/share/misc : Miscellaneous architecture-independent data</A
  612. ></DT
  613. ><DT
  614. ><A
  615. HREF="#USRSHARESGMLSGMLANDXMLDATA"
  616. >/usr/share/sgml : SGML data (optional)</A
  617. ></DT
  618. ><DT
  619. ><A
  620. HREF="#AEN2007"
  621. >/usr/share/xml : XML data (optional)</A
  622. ></DT
  623. ></DL
  624. ></DD
  625. ><DT
  626. ><A
  627. HREF="#USRSRCSOURCECODE"
  628. >/usr/src : Source code (optional)</A
  629. ></DT
  630. ><DD
  631. ><DL
  632. ><DT
  633. ><A
  634. HREF="#PURPOSE30"
  635. >Purpose</A
  636. ></DT
  637. ></DL
  638. ></DD
  639. ></DL
  640. ></DD
  641. ><DT
  642. >5. <A
  643. HREF="#THEVARHIERARCHY"
  644. >The /var Hierarchy</A
  645. ></DT
  646. ><DD
  647. ><DL
  648. ><DT
  649. ><A
  650. HREF="#PURPOSE31"
  651. >Purpose</A
  652. ></DT
  653. ><DT
  654. ><A
  655. HREF="#REQUIREMENTS12"
  656. >Requirements</A
  657. ></DT
  658. ><DT
  659. ><A
  660. HREF="#SPECIFICOPTIONS20"
  661. >Specific Options</A
  662. ></DT
  663. ><DT
  664. ><A
  665. HREF="#VARACCOUNTPROCESSACCOUNTINGLOGS"
  666. >/var/account : Process accounting logs (optional)</A
  667. ></DT
  668. ><DD
  669. ><DL
  670. ><DT
  671. ><A
  672. HREF="#PURPOSE32"
  673. >Purpose</A
  674. ></DT
  675. ></DL
  676. ></DD
  677. ><DT
  678. ><A
  679. HREF="#VARCACHEAPPLICATIONCACHEDATA"
  680. >/var/cache : Application cache data</A
  681. ></DT
  682. ><DD
  683. ><DL
  684. ><DT
  685. ><A
  686. HREF="#PURPOSE33"
  687. >Purpose</A
  688. ></DT
  689. ><DT
  690. ><A
  691. HREF="#SPECIFICOPTIONS21"
  692. >Specific Options</A
  693. ></DT
  694. ><DT
  695. ><A
  696. HREF="#VARCACHEFONTSLOCALLYGENERATEDFONTS"
  697. >/var/cache/fonts : Locally-generated fonts (optional)</A
  698. ></DT
  699. ><DT
  700. ><A
  701. HREF="#VARCACHEMANLOCALLYFORMATTEDMANUALPAG"
  702. >/var/cache/man : Locally-formatted manual pages (optional)</A
  703. ></DT
  704. ></DL
  705. ></DD
  706. ><DT
  707. ><A
  708. HREF="#VARCRASHSYSTEMCRASHDUMPS"
  709. >/var/crash : System crash dumps (optional)</A
  710. ></DT
  711. ><DD
  712. ><DL
  713. ><DT
  714. ><A
  715. HREF="#PURPOSE36"
  716. >Purpose</A
  717. ></DT
  718. ></DL
  719. ></DD
  720. ><DT
  721. ><A
  722. HREF="#VARGAMESVARIABLEGAMEDATA"
  723. >/var/games : Variable game data (optional)</A
  724. ></DT
  725. ><DD
  726. ><DL
  727. ><DT
  728. ><A
  729. HREF="#PURPOSE37"
  730. >Purpose</A
  731. ></DT
  732. ></DL
  733. ></DD
  734. ><DT
  735. ><A
  736. HREF="#VARLIBVARIABLESTATEINFORMATION"
  737. >/var/lib : Variable state information</A
  738. ></DT
  739. ><DD
  740. ><DL
  741. ><DT
  742. ><A
  743. HREF="#PURPOSE38"
  744. >Purpose</A
  745. ></DT
  746. ><DT
  747. ><A
  748. HREF="#REQUIREMENTS13"
  749. >Requirements</A
  750. ></DT
  751. ><DT
  752. ><A
  753. HREF="#SPECIFICOPTIONS23"
  754. >Specific Options</A
  755. ></DT
  756. ><DT
  757. ><A
  758. HREF="#VARLIBLTEDITORGTEDITORBACKUPFILESAN"
  759. >/var/lib/&lt;editor&gt; : Editor backup files and state (optional)</A
  760. ></DT
  761. ><DT
  762. ><A
  763. HREF="#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO"
  764. >/var/lib/hwclock : State directory for hwclock (optional)</A
  765. ></DT
  766. ><DT
  767. ><A
  768. HREF="#VARLIBMISCMISCELLANEOUSVARIABLEDATA"
  769. >/var/lib/misc : Miscellaneous variable data</A
  770. ></DT
  771. ></DL
  772. ></DD
  773. ><DT
  774. ><A
  775. HREF="#VARLOCKLOCKFILES"
  776. >/var/lock : Lock files</A
  777. ></DT
  778. ><DD
  779. ><DL
  780. ><DT
  781. ><A
  782. HREF="#PURPOSE42"
  783. >Purpose</A
  784. ></DT
  785. ></DL
  786. ></DD
  787. ><DT
  788. ><A
  789. HREF="#VARLOGLOGFILESANDDIRECTORIES"
  790. >/var/log : Log files and directories</A
  791. ></DT
  792. ><DD
  793. ><DL
  794. ><DT
  795. ><A
  796. HREF="#PURPOSE43"
  797. >Purpose</A
  798. ></DT
  799. ><DT
  800. ><A
  801. HREF="#SPECIFICOPTIONS24"
  802. >Specific Options</A
  803. ></DT
  804. ></DL
  805. ></DD
  806. ><DT
  807. ><A
  808. HREF="#VARMAILUSERMAILBOXFILES"
  809. >/var/mail : User mailbox files (optional)</A
  810. ></DT
  811. ><DD
  812. ><DL
  813. ><DT
  814. ><A
  815. HREF="#PURPOSE44"
  816. >Purpose</A
  817. ></DT
  818. ></DL
  819. ></DD
  820. ><DT
  821. ><A
  822. HREF="#VAROPTVARIABLEDATAFOROPT"
  823. >/var/opt : Variable data for /opt</A
  824. ></DT
  825. ><DD
  826. ><DL
  827. ><DT
  828. ><A
  829. HREF="#PURPOSE45"
  830. >Purpose</A
  831. ></DT
  832. ></DL
  833. ></DD
  834. ><DT
  835. ><A
  836. HREF="#VARRUNRUNTIMEVARIABLEDATA"
  837. >/var/run : Run-time variable data</A
  838. ></DT
  839. ><DD
  840. ><DL
  841. ><DT
  842. ><A
  843. HREF="#PURPOSE46"
  844. >Purpose</A
  845. ></DT
  846. ><DT
  847. ><A
  848. HREF="#REQUIREMENTS14"
  849. >Requirements</A
  850. ></DT
  851. ></DL
  852. ></DD
  853. ><DT
  854. ><A
  855. HREF="#VARSPOOLAPPLICATIONSPOOLDATA"
  856. >/var/spool : Application spool data</A
  857. ></DT
  858. ><DD
  859. ><DL
  860. ><DT
  861. ><A
  862. HREF="#PURPOSE47"
  863. >Purpose</A
  864. ></DT
  865. ><DT
  866. ><A
  867. HREF="#SPECIFICOPTIONS25"
  868. >Specific Options</A
  869. ></DT
  870. ><DT
  871. ><A
  872. HREF="#VARSPOOLLPDLINEPRINTERDAEMONPRINTQU"
  873. >/var/spool/lpd : Line-printer daemon print queues (optional)</A
  874. ></DT
  875. ><DT
  876. ><A
  877. HREF="#VARSPOOLRWHORWHODFILES"
  878. >/var/spool/rwho : Rwhod files (optional)</A
  879. ></DT
  880. ></DL
  881. ></DD
  882. ><DT
  883. ><A
  884. HREF="#VARTMPTEMPORARYFILESPRESERVEDBETWEE"
  885. >/var/tmp : Temporary files preserved between system reboots</A
  886. ></DT
  887. ><DD
  888. ><DL
  889. ><DT
  890. ><A
  891. HREF="#PURPOSE50"
  892. >Purpose</A
  893. ></DT
  894. ></DL
  895. ></DD
  896. ><DT
  897. ><A
  898. HREF="#VARYPNETWORKINFORMATIONSERVICE"
  899. >/var/yp : Network Information Service (NIS) database files (optional)</A
  900. ></DT
  901. ><DD
  902. ><DL
  903. ><DT
  904. ><A
  905. HREF="#PURPOSE51"
  906. >Purpose</A
  907. ></DT
  908. ></DL
  909. ></DD
  910. ></DL
  911. ></DD
  912. ><DT
  913. >6. <A
  914. HREF="#OPERATINGSYSTEMSPECIFICANNEX"
  915. >Operating System Specific Annex</A
  916. ></DT
  917. ><DD
  918. ><DL
  919. ><DT
  920. ><A
  921. HREF="#LINUX"
  922. >Linux</A
  923. ></DT
  924. ><DD
  925. ><DL
  926. ><DT
  927. ><A
  928. HREF="#ROOTDIRECTORY"
  929. >/ : Root directory</A
  930. ></DT
  931. ><DT
  932. ><A
  933. HREF="#BINESSENTIALUSERCOMMANDBINARIES2"
  934. >/bin : Essential user command binaries (for use by all users)</A
  935. ></DT
  936. ><DT
  937. ><A
  938. HREF="#DEVDEVICESANDSPECIALFILES"
  939. >/dev : Devices and special files</A
  940. ></DT
  941. ><DT
  942. ><A
  943. HREF="#ETCHOSTSPECIFICSYSTEMCONFIGURATION2"
  944. >/etc : Host-specific system configuration</A
  945. ></DT
  946. ><DT
  947. ><A
  948. HREF="#LIB64"
  949. >/lib64 and /lib32 : 64/32-bit libraries (architecture dependent)</A
  950. ></DT
  951. ><DT
  952. ><A
  953. HREF="#PROCKERNELANDPROCESSINFORMATIONVIR"
  954. >/proc : Kernel and process information virtual filesystem</A
  955. ></DT
  956. ><DT
  957. ><A
  958. HREF="#SBINESSENTIALSYSTEMBINARIES"
  959. >/sbin : Essential system binaries</A
  960. ></DT
  961. ><DT
  962. ><A
  963. HREF="#USRINCLUDEHEADERFILESINCLUDEDBYCP"
  964. >/usr/include : Header files included by C programs</A
  965. ></DT
  966. ><DT
  967. ><A
  968. HREF="#USRSRCSOURCECODE2"
  969. >/usr/src : Source code</A
  970. ></DT
  971. ><DT
  972. ><A
  973. HREF="#VARSPOOLCRONCRONANDATJOBS"
  974. >/var/spool/cron : cron and at jobs</A
  975. ></DT
  976. ></DL
  977. ></DD
  978. ></DL
  979. ></DD
  980. ><DT
  981. >7. <A
  982. HREF="#APPENDIX"
  983. >Appendix</A
  984. ></DT
  985. ><DD
  986. ><DL
  987. ><DT
  988. ><A
  989. HREF="#THEFHSMAILINGLIST"
  990. >The FHS mailing list</A
  991. ></DT
  992. ><DT
  993. ><A
  994. HREF="#BACKGROUNDOFTHEFHS"
  995. >Background of the FHS</A
  996. ></DT
  997. ><DT
  998. ><A
  999. HREF="#GENERALGUIDELINES"
  1000. >General Guidelines</A
  1001. ></DT
  1002. ><DT
  1003. ><A
  1004. HREF="#SCOPE"
  1005. >Scope</A
  1006. ></DT
  1007. ><DT
  1008. ><A
  1009. HREF="#ACKNOWLEDGMENTS"
  1010. >Acknowledgments</A
  1011. ></DT
  1012. ><DT
  1013. ><A
  1014. HREF="#CONTRIBUTORS"
  1015. >Contributors</A
  1016. ></DT
  1017. ></DL
  1018. ></DD
  1019. ></DL
  1020. ></DIV
  1021. ><DIV
  1022. CLASS="CHAPTER"
  1023. ><HR><H1
  1024. ><A
  1025. NAME="INTRODUCTION"
  1026. ></A
  1027. >Chapter 1. Introduction</H1
  1028. ><DIV
  1029. CLASS="SECTION"
  1030. ><H2
  1031. CLASS="SECTION"
  1032. ><A
  1033. NAME="PURPOSE"
  1034. >Purpose</A
  1035. ></H2
  1036. ><P
  1037. >This standard enables:</P
  1038. ><P
  1039. ></P
  1040. ><UL
  1041. ><LI
  1042. ><P
  1043. >Software to predict the location of installed files and
  1044. directories, and</P
  1045. ></LI
  1046. ><LI
  1047. ><P
  1048. >Users to predict the location of installed files and
  1049. directories.</P
  1050. ></LI
  1051. ></UL
  1052. ><P
  1053. >We do this by:</P
  1054. ><P
  1055. ></P
  1056. ><UL
  1057. ><LI
  1058. ><P
  1059. >Specifying guiding principles for each area of the filesystem,</P
  1060. ></LI
  1061. ><LI
  1062. ><P
  1063. >Specifying the minimum files and directories required,</P
  1064. ></LI
  1065. ><LI
  1066. ><P
  1067. >Enumerating exceptions to the principles, and</P
  1068. ></LI
  1069. ><LI
  1070. ><P
  1071. >Enumerating specific cases where there has been historical conflict.</P
  1072. ></LI
  1073. ></UL
  1074. ><P
  1075. >The FHS document is used by:</P
  1076. ><P
  1077. ></P
  1078. ><UL
  1079. ><LI
  1080. ><P
  1081. >Independent software suppliers to create applications which are FHS
  1082. compliant, and work with distributions which are FHS complaint,</P
  1083. ></LI
  1084. ><LI
  1085. ><P
  1086. >OS creators to provide systems which are FHS compliant, and</P
  1087. ></LI
  1088. ><LI
  1089. ><P
  1090. >Users to understand and maintain the FHS compliance of a system.</P
  1091. ></LI
  1092. ></UL
  1093. ><P
  1094. >The FHS document has a limited scope:</P
  1095. ><P
  1096. ></P
  1097. ><UL
  1098. ><LI
  1099. ><P
  1100. >Local placement of local files is a local issue, so FHS does not
  1101. attempt to usurp system administrators.</P
  1102. ></LI
  1103. ><LI
  1104. ><P
  1105. >FHS addresses issues where file placements need to be coordinated
  1106. between multiple parties such as local sites, distributions,
  1107. applications, documentation, etc.</P
  1108. ></LI
  1109. ></UL
  1110. ></DIV
  1111. ><DIV
  1112. CLASS="SECTION"
  1113. ><HR><H2
  1114. CLASS="SECTION"
  1115. ><A
  1116. NAME="CONVENTIONS"
  1117. >Conventions</A
  1118. ></H2
  1119. ><P
  1120. >We recommend that you read a typeset version of this document rather
  1121. than the plain text version. In the typeset version, the names of files
  1122. and directories are displayed in a constant-width font.</P
  1123. ><P
  1124. >Components of filenames that vary are represented by a description
  1125. of the contents enclosed in "<SPAN
  1126. CLASS="emphasis"
  1127. ><I
  1128. CLASS="EMPHASIS"
  1129. >&lt;</I
  1130. ></SPAN
  1131. >" and
  1132. "<SPAN
  1133. CLASS="emphasis"
  1134. ><I
  1135. CLASS="EMPHASIS"
  1136. >&gt;</I
  1137. ></SPAN
  1138. >" characters, <SPAN
  1139. CLASS="emphasis"
  1140. ><I
  1141. CLASS="EMPHASIS"
  1142. >&lt;thus&gt;</I
  1143. ></SPAN
  1144. >. Electronic mail addresses are also
  1145. enclosed in "&lt;" and "&gt;" but are shown in the usual
  1146. typeface.</P
  1147. ><P
  1148. >Optional components of filenames are enclosed in
  1149. "<SPAN
  1150. CLASS="emphasis"
  1151. ><I
  1152. CLASS="EMPHASIS"
  1153. >[</I
  1154. ></SPAN
  1155. >" and "<SPAN
  1156. CLASS="emphasis"
  1157. ><I
  1158. CLASS="EMPHASIS"
  1159. >]</I
  1160. ></SPAN
  1161. >" characters and may
  1162. be combined with the "<SPAN
  1163. CLASS="emphasis"
  1164. ><I
  1165. CLASS="EMPHASIS"
  1166. >&lt;</I
  1167. ></SPAN
  1168. >" and
  1169. "<SPAN
  1170. CLASS="emphasis"
  1171. ><I
  1172. CLASS="EMPHASIS"
  1173. >&gt;</I
  1174. ></SPAN
  1175. >" convention. For example, if a filename is
  1176. allowed to occur either with or without an extension, it might be
  1177. represented by
  1178. <SPAN
  1179. CLASS="emphasis"
  1180. ><I
  1181. CLASS="EMPHASIS"
  1182. >&lt;filename&gt;[.&lt;extension&gt;]</I
  1183. ></SPAN
  1184. >.</P
  1185. ><P
  1186. >Variable substrings of directory names and filenames are indicated
  1187. by "<SPAN
  1188. CLASS="emphasis"
  1189. ><I
  1190. CLASS="EMPHASIS"
  1191. >*</I
  1192. ></SPAN
  1193. >".</P
  1194. ><P
  1195. >The sections of the text marked as
  1196. <SPAN
  1197. CLASS="emphasis"
  1198. ><I
  1199. CLASS="EMPHASIS"
  1200. >Rationale</I
  1201. ></SPAN
  1202. > are explanatory and are
  1203. non-normative.</P
  1204. ></DIV
  1205. ></DIV
  1206. ><DIV
  1207. CLASS="CHAPTER"
  1208. ><HR><H1
  1209. ><A
  1210. NAME="THEFILESYSTEM"
  1211. ></A
  1212. >Chapter 2. The Filesystem</H1
  1213. ><P
  1214. >This standard assumes that the operating system underlying an
  1215. FHS-compliant file system supports the same basic security features
  1216. found in most UNIX filesystems.</P
  1217. ><P
  1218. >It is possible to define two independent distinctions among
  1219. files: shareable vs. unshareable and variable vs. static. In general,
  1220. files that differ in either of these respects should be located in
  1221. different directories. This makes it easy to store files with
  1222. different usage characteristics on different filesystems.</P
  1223. ><P
  1224. >"Shareable" files are those that can be stored on one host
  1225. and used on others. "Unshareable" files are those that are not
  1226. shareable. For example, the files in user home directories are
  1227. shareable whereas device lock files are not.</P
  1228. ><P
  1229. >"Static" files include binaries, libraries, documentation
  1230. files and other files that do not change without system administrator
  1231. intervention. "Variable" files are files that are not static.</P
  1232. ><DIV
  1233. CLASS="TIP"
  1234. ><P
  1235. ></P
  1236. ><TABLE
  1237. CLASS="TIP"
  1238. WIDTH="100%"
  1239. BORDER="0"
  1240. ><TR
  1241. ><TD
  1242. WIDTH="25"
  1243. ALIGN="CENTER"
  1244. VALIGN="TOP"
  1245. ><IMG
  1246. SRC="tip.gif"
  1247. HSPACE="5"
  1248. ALT="Tip"></TD
  1249. ><TH
  1250. ALIGN="LEFT"
  1251. VALIGN="CENTER"
  1252. ><B
  1253. >Rationale</B
  1254. ></TH
  1255. ></TR
  1256. ><TR
  1257. ><TD
  1258. >&nbsp;</TD
  1259. ><TD
  1260. ALIGN="LEFT"
  1261. VALIGN="TOP"
  1262. ><P
  1263. >Shareable files can be stored on one host and used on several
  1264. others. Typically, however, not all files in the filesystem
  1265. hierarchy are shareable and so each system has local storage
  1266. containing at least its unshareable files. It is convenient if all
  1267. the files a system requires that are stored on a foreign host can be
  1268. made available by mounting one or a few directories from the foreign
  1269. host.</P
  1270. ><P
  1271. >Static and variable files should be segregated because static
  1272. files, unlike variable files, can be stored on read-only media and
  1273. do not need to be backed up on the same schedule as variable
  1274. files.</P
  1275. ><P
  1276. >Historical UNIX-like filesystem hierarchies contained both
  1277. static and variable files under both <TT
  1278. CLASS="FILENAME"
  1279. >/usr</TT
  1280. > and
  1281. <TT
  1282. CLASS="FILENAME"
  1283. >/etc</TT
  1284. >. In order to realize the advantages
  1285. mentioned above, the <TT
  1286. CLASS="FILENAME"
  1287. >/var</TT
  1288. > hierarchy was
  1289. created and all variable files were transferred from
  1290. <TT
  1291. CLASS="FILENAME"
  1292. >/usr</TT
  1293. > to <TT
  1294. CLASS="FILENAME"
  1295. >/var</TT
  1296. >.
  1297. Consequently <TT
  1298. CLASS="FILENAME"
  1299. >/usr</TT
  1300. > can now be mounted read-only
  1301. (if it is a separate filesystem). Variable files have been
  1302. transferred from <TT
  1303. CLASS="FILENAME"
  1304. >/etc</TT
  1305. > to
  1306. <TT
  1307. CLASS="FILENAME"
  1308. >/var</TT
  1309. > over a longer period as technology has
  1310. permitted.</P
  1311. ><P
  1312. >Here is an example of a FHS-compliant system.
  1313. (Other FHS-compliant layouts are possible.)</P
  1314. ><DIV
  1315. CLASS="INFORMALTABLE"
  1316. ><P
  1317. ></P
  1318. ><A
  1319. NAME="AEN103"
  1320. ></A
  1321. ><TABLE
  1322. BORDER="1"
  1323. FRAME="hsides"
  1324. CLASS="CALSTABLE"
  1325. ><COL><COL><COL><THEAD
  1326. ><TR
  1327. ><TH
  1328. ><SPAN
  1329. CLASS="emphasis"
  1330. ><I
  1331. CLASS="EMPHASIS"
  1332. ></I
  1333. ></SPAN
  1334. ></TH
  1335. ><TH
  1336. >shareable</TH
  1337. ><TH
  1338. >unshareable</TH
  1339. ></TR
  1340. ></THEAD
  1341. ><TBODY
  1342. ><TR
  1343. ><TD
  1344. >static</TD
  1345. ><TD
  1346. >/usr</TD
  1347. ><TD
  1348. >/etc</TD
  1349. ></TR
  1350. ><TR
  1351. ><TD
  1352. >&nbsp;</TD
  1353. ><TD
  1354. >/opt</TD
  1355. ><TD
  1356. >/boot</TD
  1357. ></TR
  1358. ><TR
  1359. ><TD
  1360. >variable</TD
  1361. ><TD
  1362. >/var/mail</TD
  1363. ><TD
  1364. >/var/run</TD
  1365. ></TR
  1366. ><TR
  1367. ><TD
  1368. >&nbsp;</TD
  1369. ><TD
  1370. >/var/spool/news</TD
  1371. ><TD
  1372. >/var/lock</TD
  1373. ></TR
  1374. ></TBODY
  1375. ></TABLE
  1376. ><P
  1377. ></P
  1378. ></DIV
  1379. ></TD
  1380. ></TR
  1381. ></TABLE
  1382. ></DIV
  1383. ></DIV
  1384. ><DIV
  1385. CLASS="CHAPTER"
  1386. ><HR><H1
  1387. ><A
  1388. NAME="THEROOTFILESYSTEM"
  1389. ></A
  1390. >Chapter 3. The Root Filesystem</H1
  1391. ><DIV
  1392. CLASS="SECTION"
  1393. ><H2
  1394. CLASS="SECTION"
  1395. ><A
  1396. NAME="PURPOSE2"
  1397. >Purpose</A
  1398. ></H2
  1399. ><P
  1400. >The contents of the root filesystem must be adequate to boot,
  1401. restore, recover, and/or repair the system.</P
  1402. ><P
  1403. ></P
  1404. ><UL
  1405. ><LI
  1406. STYLE="list-style-type: disc"
  1407. ><P
  1408. >To boot a system, enough must be present on the root partition
  1409. to mount other filesystems. This includes utilities, configuration,
  1410. boot loader information, and other essential start-up data.
  1411. <TT
  1412. CLASS="FILENAME"
  1413. >/usr</TT
  1414. >, <TT
  1415. CLASS="FILENAME"
  1416. >/opt</TT
  1417. >, and
  1418. <TT
  1419. CLASS="FILENAME"
  1420. >/var</TT
  1421. > are designed such that they may be located
  1422. on other partitions or filesystems.</P
  1423. ></LI
  1424. ><LI
  1425. STYLE="list-style-type: disc"
  1426. ><P
  1427. >To enable recovery and/or repair of a system, those utilities
  1428. needed by an experienced maintainer to diagnose and reconstruct a
  1429. damaged system must be present on the root filesystem.</P
  1430. ></LI
  1431. ><LI
  1432. STYLE="list-style-type: disc"
  1433. ><P
  1434. >To restore a system, those utilities needed to restore from
  1435. system backups (on floppy, tape, etc.) must be present on the root
  1436. filesystem.</P
  1437. ></LI
  1438. ></UL
  1439. ><DIV
  1440. CLASS="TIP"
  1441. ><P
  1442. ></P
  1443. ><TABLE
  1444. CLASS="TIP"
  1445. WIDTH="100%"
  1446. BORDER="0"
  1447. ><TR
  1448. ><TD
  1449. WIDTH="25"
  1450. ALIGN="CENTER"
  1451. VALIGN="TOP"
  1452. ><IMG
  1453. SRC="tip.gif"
  1454. HSPACE="5"
  1455. ALT="Tip"></TD
  1456. ><TH
  1457. ALIGN="LEFT"
  1458. VALIGN="CENTER"
  1459. ><B
  1460. >Rationale</B
  1461. ></TH
  1462. ></TR
  1463. ><TR
  1464. ><TD
  1465. >&nbsp;</TD
  1466. ><TD
  1467. ALIGN="LEFT"
  1468. VALIGN="TOP"
  1469. ><P
  1470. >The primary concern used to balance these considerations, which
  1471. favor placing many things on the root filesystem, is the goal of
  1472. keeping root as small as reasonably possible. For several reasons, it
  1473. is desirable to keep the root filesystem small:</P
  1474. ><P
  1475. ></P
  1476. ><UL
  1477. ><LI
  1478. ><P
  1479. >It is occasionally mounted from very small media.</P
  1480. ></LI
  1481. ><LI
  1482. ><P
  1483. >The root filesystem contains many system-specific configuration
  1484. files. Possible examples include a kernel that is specific to the
  1485. system, a specific hostname, etc. This means that the root filesystem
  1486. isn't always shareable between networked systems. Keeping it small on
  1487. servers in networked systems minimizes the amount of lost space for
  1488. areas of unshareable files. It also allows workstations with smaller
  1489. local hard drives.</P
  1490. ></LI
  1491. ><LI
  1492. ><P
  1493. >While you may have the root filesystem on a large partition, and
  1494. may be able to fill it to your heart's content, there will be people
  1495. with smaller partitions. If you have more files installed, you may
  1496. find incompatibilities with other systems using root filesystems on
  1497. smaller partitions. If you are a developer then you may be turning
  1498. your assumption into a problem for a large number of users.</P
  1499. ></LI
  1500. ><LI
  1501. ><P
  1502. >Disk errors that corrupt data on the root filesystem are a
  1503. greater problem than errors on any other partition. A small root
  1504. filesystem is less prone to corruption as the result of a system
  1505. crash.</P
  1506. ></LI
  1507. ></UL
  1508. ></TD
  1509. ></TR
  1510. ></TABLE
  1511. ></DIV
  1512. ><P
  1513. >Applications must never create or require special files or
  1514. subdirectories in the root directory. Other locations in the FHS
  1515. hierarchy provide more than enough flexibility for any package.</P
  1516. ><DIV
  1517. CLASS="TIP"
  1518. ><P
  1519. ></P
  1520. ><TABLE
  1521. CLASS="TIP"
  1522. WIDTH="100%"
  1523. BORDER="0"
  1524. ><TR
  1525. ><TD
  1526. WIDTH="25"
  1527. ALIGN="CENTER"
  1528. VALIGN="TOP"
  1529. ><IMG
  1530. SRC="tip.gif"
  1531. HSPACE="5"
  1532. ALT="Tip"></TD
  1533. ><TH
  1534. ALIGN="LEFT"
  1535. VALIGN="CENTER"
  1536. ><B
  1537. >Rationale</B
  1538. ></TH
  1539. ></TR
  1540. ><TR
  1541. ><TD
  1542. >&nbsp;</TD
  1543. ><TD
  1544. ALIGN="LEFT"
  1545. VALIGN="TOP"
  1546. ><P
  1547. >There are several reasons why creating a new subdirectory of
  1548. the root filesystem is prohibited:</P
  1549. ><P
  1550. ></P
  1551. ><UL
  1552. ><LI
  1553. STYLE="list-style-type: disc"
  1554. ><P
  1555. >It demands space on a root partition which the system
  1556. administrator may want kept small and simple for either performance or
  1557. security reasons.</P
  1558. ></LI
  1559. ><LI
  1560. STYLE="list-style-type: disc"
  1561. ><P
  1562. >It evades whatever discipline the system administrator may have
  1563. set up for distributing standard file hierarchies across mountable
  1564. volumes.</P
  1565. ></LI
  1566. ></UL
  1567. ><P
  1568. >Distributions should not create new directories in the root
  1569. hierarchy without extremely careful consideration of the consequences
  1570. including for application portability.</P
  1571. ></TD
  1572. ></TR
  1573. ></TABLE
  1574. ></DIV
  1575. ></DIV
  1576. ><DIV
  1577. CLASS="SECTION"
  1578. ><HR><H2
  1579. CLASS="SECTION"
  1580. ><A
  1581. NAME="REQUIREMENTS"
  1582. >Requirements</A
  1583. ></H2
  1584. ><P
  1585. >The following directories, or symbolic links to directories, are
  1586. required in <TT
  1587. CLASS="FILENAME"
  1588. >/</TT
  1589. >.</P
  1590. ><DIV
  1591. CLASS="INFORMALTABLE"
  1592. ><P
  1593. ></P
  1594. ><A
  1595. NAME="AEN169"
  1596. ></A
  1597. ><TABLE
  1598. BORDER="0"
  1599. FRAME="void"
  1600. CLASS="CALSTABLE"
  1601. ><COL><COL><THEAD
  1602. ><TR
  1603. ><TH
  1604. >Directory</TH
  1605. ><TH
  1606. >Description</TH
  1607. ></TR
  1608. ></THEAD
  1609. ><TBODY
  1610. ><TR
  1611. ><TD
  1612. ><TT
  1613. CLASS="FILENAME"
  1614. >bin</TT
  1615. ></TD
  1616. ><TD
  1617. >Essential command binaries</TD
  1618. ></TR
  1619. ><TR
  1620. ><TD
  1621. ><TT
  1622. CLASS="FILENAME"
  1623. >boot</TT
  1624. ></TD
  1625. ><TD
  1626. >Static files of the boot loader</TD
  1627. ></TR
  1628. ><TR
  1629. ><TD
  1630. ><TT
  1631. CLASS="FILENAME"
  1632. >dev</TT
  1633. ></TD
  1634. ><TD
  1635. >Device files</TD
  1636. ></TR
  1637. ><TR
  1638. ><TD
  1639. ><TT
  1640. CLASS="FILENAME"
  1641. >etc</TT
  1642. ></TD
  1643. ><TD
  1644. >Host-specific system configuration</TD
  1645. ></TR
  1646. ><TR
  1647. ><TD
  1648. ><TT
  1649. CLASS="FILENAME"
  1650. >lib</TT
  1651. ></TD
  1652. ><TD
  1653. >Essential shared libraries and kernel modules</TD
  1654. ></TR
  1655. ><TR
  1656. ><TD
  1657. ><TT
  1658. CLASS="FILENAME"
  1659. >media</TT
  1660. ></TD
  1661. ><TD
  1662. >Mount point for removeable media</TD
  1663. ></TR
  1664. ><TR
  1665. ><TD
  1666. ><TT
  1667. CLASS="FILENAME"
  1668. >mnt</TT
  1669. ></TD
  1670. ><TD
  1671. >Mount point for mounting a filesystem temporarily</TD
  1672. ></TR
  1673. ><TR
  1674. ><TD
  1675. ><TT
  1676. CLASS="FILENAME"
  1677. >opt</TT
  1678. ></TD
  1679. ><TD
  1680. >Add-on application software packages</TD
  1681. ></TR
  1682. ><TR
  1683. ><TD
  1684. ><TT
  1685. CLASS="FILENAME"
  1686. >sbin</TT
  1687. ></TD
  1688. ><TD
  1689. >Essential system binaries</TD
  1690. ></TR
  1691. ><TR
  1692. ><TD
  1693. ><TT
  1694. CLASS="FILENAME"
  1695. >srv</TT
  1696. ></TD
  1697. ><TD
  1698. >Data for services provided by this system</TD
  1699. ></TR
  1700. ><TR
  1701. ><TD
  1702. ><TT
  1703. CLASS="FILENAME"
  1704. >tmp</TT
  1705. ></TD
  1706. ><TD
  1707. >Temporary files</TD
  1708. ></TR
  1709. ><TR
  1710. ><TD
  1711. ><TT
  1712. CLASS="FILENAME"
  1713. >usr</TT
  1714. ></TD
  1715. ><TD
  1716. >Secondary hierarchy</TD
  1717. ></TR
  1718. ><TR
  1719. ><TD
  1720. ><TT
  1721. CLASS="FILENAME"
  1722. >var</TT
  1723. ></TD
  1724. ><TD
  1725. >Variable data</TD
  1726. ></TR
  1727. ></TBODY
  1728. ></TABLE
  1729. ><P
  1730. ></P
  1731. ></DIV
  1732. ><P
  1733. >Each directory listed above is specified in detail in separate
  1734. subsections below. <TT
  1735. CLASS="FILENAME"
  1736. >/usr</TT
  1737. > and
  1738. <TT
  1739. CLASS="FILENAME"
  1740. >/var</TT
  1741. > each have a complete section in this
  1742. document due to the complexity of those directories.</P
  1743. ></DIV
  1744. ><DIV
  1745. CLASS="SECTION"
  1746. ><HR><H2
  1747. CLASS="SECTION"
  1748. ><A
  1749. NAME="SPECIFICOPTIONS"
  1750. >Specific Options</A
  1751. ></H2
  1752. ><P
  1753. >The following directories, or symbolic links to directories,
  1754. must be in <TT
  1755. CLASS="FILENAME"
  1756. >/</TT
  1757. >, if the corresponding subsystem is
  1758. installed:</P
  1759. ><DIV
  1760. CLASS="INFORMALTABLE"
  1761. ><P
  1762. ></P
  1763. ><A
  1764. NAME="AEN235"
  1765. ></A
  1766. ><TABLE
  1767. BORDER="0"
  1768. FRAME="void"
  1769. CLASS="CALSTABLE"
  1770. ><COL><COL><THEAD
  1771. ><TR
  1772. ><TH
  1773. >Directory</TH
  1774. ><TH
  1775. >Description</TH
  1776. ></TR
  1777. ></THEAD
  1778. ><TBODY
  1779. ><TR
  1780. ><TD
  1781. ><TT
  1782. CLASS="FILENAME"
  1783. >home</TT
  1784. ></TD
  1785. ><TD
  1786. >User home directories (optional)</TD
  1787. ></TR
  1788. ><TR
  1789. ><TD
  1790. ><TT
  1791. CLASS="FILENAME"
  1792. >lib&lt;qual&gt;</TT
  1793. ></TD
  1794. ><TD
  1795. >Alternate format essential shared libraries (optional)</TD
  1796. ></TR
  1797. ><TR
  1798. ><TD
  1799. ><TT
  1800. CLASS="FILENAME"
  1801. >root</TT
  1802. ></TD
  1803. ><TD
  1804. >Home directory for the root user (optional)</TD
  1805. ></TR
  1806. ></TBODY
  1807. ></TABLE
  1808. ><P
  1809. ></P
  1810. ></DIV
  1811. ><P
  1812. >Each directory listed above is specified in detail in separate
  1813. subsections below.</P
  1814. ></DIV
  1815. ><DIV
  1816. CLASS="SECTION"
  1817. ><HR><H2
  1818. CLASS="SECTION"
  1819. ><A
  1820. NAME="BINESSENTIALUSERCOMMANDBINARIES"
  1821. >/bin : Essential user command binaries (for use by all users)</A
  1822. ></H2
  1823. ><DIV
  1824. CLASS="SECTION"
  1825. ><H3
  1826. CLASS="SECTION"
  1827. ><A
  1828. NAME="PURPOSE3"
  1829. >Purpose</A
  1830. ></H3
  1831. ><P
  1832. ><TT
  1833. CLASS="FILENAME"
  1834. >/bin</TT
  1835. > contains commands that may be used by
  1836. both the system administrator and by users, but which are required
  1837. when no other filesystems are mounted (e.g. in single user mode). It
  1838. may also contain commands which are used indirectly by scripts.
  1839. <A
  1840. NAME="AEN261"
  1841. HREF="#FTN.AEN261"
  1842. ><SPAN
  1843. CLASS="footnote"
  1844. >[1]</SPAN
  1845. ></A
  1846. ></P
  1847. ></DIV
  1848. ><DIV
  1849. CLASS="SECTION"
  1850. ><HR><H3
  1851. CLASS="SECTION"
  1852. ><A
  1853. NAME="REQUIREMENTS2"
  1854. >Requirements</A
  1855. ></H3
  1856. ><P
  1857. >There must be no subdirectories in
  1858. <TT
  1859. CLASS="FILENAME"
  1860. >/bin</TT
  1861. >.</P
  1862. ><P
  1863. >The following commands, or symbolic links to commands, are
  1864. required in <TT
  1865. CLASS="FILENAME"
  1866. >/bin</TT
  1867. >.</P
  1868. ><DIV
  1869. CLASS="INFORMALTABLE"
  1870. ><P
  1871. ></P
  1872. ><A
  1873. NAME="AEN272"
  1874. ></A
  1875. ><TABLE
  1876. BORDER="0"
  1877. FRAME="void"
  1878. CLASS="CALSTABLE"
  1879. ><COL><COL><THEAD
  1880. ><TR
  1881. ><TH
  1882. >Command</TH
  1883. ><TH
  1884. >Description</TH
  1885. ></TR
  1886. ></THEAD
  1887. ><TBODY
  1888. ><TR
  1889. ><TD
  1890. ><B
  1891. CLASS="COMMAND"
  1892. >cat</B
  1893. ></TD
  1894. ><TD
  1895. >Utility to concatenate files to standard output</TD
  1896. ></TR
  1897. ><TR
  1898. ><TD
  1899. ><B
  1900. CLASS="COMMAND"
  1901. >chgrp</B
  1902. ></TD
  1903. ><TD
  1904. >Utility to change file group ownership</TD
  1905. ></TR
  1906. ><TR
  1907. ><TD
  1908. ><B
  1909. CLASS="COMMAND"
  1910. >chmod</B
  1911. ></TD
  1912. ><TD
  1913. >Utility to change file access permissions</TD
  1914. ></TR
  1915. ><TR
  1916. ><TD
  1917. ><B
  1918. CLASS="COMMAND"
  1919. >chown</B
  1920. ></TD
  1921. ><TD
  1922. >Utility to change file owner and group</TD
  1923. ></TR
  1924. ><TR
  1925. ><TD
  1926. ><B
  1927. CLASS="COMMAND"
  1928. >cp</B
  1929. ></TD
  1930. ><TD
  1931. >Utility to copy files and directories</TD
  1932. ></TR
  1933. ><TR
  1934. ><TD
  1935. ><B
  1936. CLASS="COMMAND"
  1937. >date</B
  1938. ></TD
  1939. ><TD
  1940. >Utility to print or set the system data and time</TD
  1941. ></TR
  1942. ><TR
  1943. ><TD
  1944. ><B
  1945. CLASS="COMMAND"
  1946. >dd</B
  1947. ></TD
  1948. ><TD
  1949. >Utility to convert and copy a file</TD
  1950. ></TR
  1951. ><TR
  1952. ><TD
  1953. ><B
  1954. CLASS="COMMAND"
  1955. >df</B
  1956. ></TD
  1957. ><TD
  1958. >Utility to report filesystem disk space usage</TD
  1959. ></TR
  1960. ><TR
  1961. ><TD
  1962. ><B
  1963. CLASS="COMMAND"
  1964. >dmesg</B
  1965. ></TD
  1966. ><TD
  1967. >Utility to print or control the kernel message buffer</TD
  1968. ></TR
  1969. ><TR
  1970. ><TD
  1971. ><B
  1972. CLASS="COMMAND"
  1973. >echo</B
  1974. ></TD
  1975. ><TD
  1976. >Utility to display a line of text</TD
  1977. ></TR
  1978. ><TR
  1979. ><TD
  1980. ><B
  1981. CLASS="COMMAND"
  1982. >false</B
  1983. ></TD
  1984. ><TD
  1985. >Utility to do nothing, unsuccessfully</TD
  1986. ></TR
  1987. ><TR
  1988. ><TD
  1989. ><B
  1990. CLASS="COMMAND"
  1991. >hostname</B
  1992. ></TD
  1993. ><TD
  1994. >Utility to show or set the system's host name</TD
  1995. ></TR
  1996. ><TR
  1997. ><TD
  1998. ><B
  1999. CLASS="COMMAND"
  2000. >kill</B
  2001. ></TD
  2002. ><TD
  2003. >Utility to send signals to processes</TD
  2004. ></TR
  2005. ><TR
  2006. ><TD
  2007. ><B
  2008. CLASS="COMMAND"
  2009. >ln</B
  2010. ></TD
  2011. ><TD
  2012. >Utility to make links between files</TD
  2013. ></TR
  2014. ><TR
  2015. ><TD
  2016. ><B
  2017. CLASS="COMMAND"
  2018. >login</B
  2019. ></TD
  2020. ><TD
  2021. >Utility to begin a session on the system</TD
  2022. ></TR
  2023. ><TR
  2024. ><TD
  2025. ><B
  2026. CLASS="COMMAND"
  2027. >ls</B
  2028. ></TD
  2029. ><TD
  2030. >Utility to list directory contents</TD
  2031. ></TR
  2032. ><TR
  2033. ><TD
  2034. ><B
  2035. CLASS="COMMAND"
  2036. >mkdir</B
  2037. ></TD
  2038. ><TD
  2039. >Utility to make directories</TD
  2040. ></TR
  2041. ><TR
  2042. ><TD
  2043. ><B
  2044. CLASS="COMMAND"
  2045. >mknod</B
  2046. ></TD
  2047. ><TD
  2048. >Utility to make block or character special files</TD
  2049. ></TR
  2050. ><TR
  2051. ><TD
  2052. ><B
  2053. CLASS="COMMAND"
  2054. >more</B
  2055. ></TD
  2056. ><TD
  2057. >Utility to page through text</TD
  2058. ></TR
  2059. ><TR
  2060. ><TD
  2061. ><B
  2062. CLASS="COMMAND"
  2063. >mount</B
  2064. ></TD
  2065. ><TD
  2066. >Utility to mount a filesystem</TD
  2067. ></TR
  2068. ><TR
  2069. ><TD
  2070. ><B
  2071. CLASS="COMMAND"
  2072. >mv</B
  2073. ></TD
  2074. ><TD
  2075. >Utility to move/rename files</TD
  2076. ></TR
  2077. ><TR
  2078. ><TD
  2079. ><B
  2080. CLASS="COMMAND"
  2081. >ps</B
  2082. ></TD
  2083. ><TD
  2084. >Utility to report process status</TD
  2085. ></TR
  2086. ><TR
  2087. ><TD
  2088. ><B
  2089. CLASS="COMMAND"
  2090. >pwd</B
  2091. ></TD
  2092. ><TD
  2093. >Utility to print name of current working directory</TD
  2094. ></TR
  2095. ><TR
  2096. ><TD
  2097. ><B
  2098. CLASS="COMMAND"
  2099. >rm</B
  2100. ></TD
  2101. ><TD
  2102. >Utility to remove files or directories</TD
  2103. ></TR
  2104. ><TR
  2105. ><TD
  2106. ><B
  2107. CLASS="COMMAND"
  2108. >rmdir</B
  2109. ></TD
  2110. ><TD
  2111. >Utility to remove empty directories</TD
  2112. ></TR
  2113. ><TR
  2114. ><TD
  2115. ><B
  2116. CLASS="COMMAND"
  2117. >sed</B
  2118. ></TD
  2119. ><TD
  2120. >The `sed' stream editor</TD
  2121. ></TR
  2122. ><TR
  2123. ><TD
  2124. ><B
  2125. CLASS="COMMAND"
  2126. >sh</B
  2127. ></TD
  2128. ><TD
  2129. >The Bourne command shell</TD
  2130. ></TR
  2131. ><TR
  2132. ><TD
  2133. ><B
  2134. CLASS="COMMAND"
  2135. >stty</B
  2136. ></TD
  2137. ><TD
  2138. >Utility to change and print terminal line settings</TD
  2139. ></TR
  2140. ><TR
  2141. ><TD
  2142. ><B
  2143. CLASS="COMMAND"
  2144. >su</B
  2145. ></TD
  2146. ><TD
  2147. >Utility to change user ID</TD
  2148. ></TR
  2149. ><TR
  2150. ><TD
  2151. ><B
  2152. CLASS="COMMAND"
  2153. >sync</B
  2154. ></TD
  2155. ><TD
  2156. >Utility to flush filesystem buffers</TD
  2157. ></TR
  2158. ><TR
  2159. ><TD
  2160. ><B
  2161. CLASS="COMMAND"
  2162. >true</B
  2163. ></TD
  2164. ><TD
  2165. >Utility to do nothing, successfully</TD
  2166. ></TR
  2167. ><TR
  2168. ><TD
  2169. ><B
  2170. CLASS="COMMAND"
  2171. >umount</B
  2172. ></TD
  2173. ><TD
  2174. >Utility to unmount file systems</TD
  2175. ></TR
  2176. ><TR
  2177. ><TD
  2178. ><B
  2179. CLASS="COMMAND"
  2180. >uname</B
  2181. ></TD
  2182. ><TD
  2183. >Utility to print system information</TD
  2184. ></TR
  2185. ></TBODY
  2186. ></TABLE
  2187. ><P
  2188. ></P
  2189. ></DIV
  2190. ><P
  2191. >If <B
  2192. CLASS="COMMAND"
  2193. >/bin/sh</B
  2194. > is not a true Bourne shell, it
  2195. must be a hard or symbolic link to the real shell command.</P
  2196. ><P
  2197. >The <B
  2198. CLASS="COMMAND"
  2199. >[</B
  2200. > and <B
  2201. CLASS="COMMAND"
  2202. >test</B
  2203. >
  2204. commands must be placed together in either <TT
  2205. CLASS="FILENAME"
  2206. >/bin</TT
  2207. >
  2208. or <TT
  2209. CLASS="FILENAME"
  2210. >/usr/bin</TT
  2211. >.</P
  2212. ><DIV
  2213. CLASS="TIP"
  2214. ><P
  2215. ></P
  2216. ><TABLE
  2217. CLASS="TIP"
  2218. WIDTH="100%"
  2219. BORDER="0"
  2220. ><TR
  2221. ><TD
  2222. WIDTH="25"
  2223. ALIGN="CENTER"
  2224. VALIGN="TOP"
  2225. ><IMG
  2226. SRC="tip.gif"
  2227. HSPACE="5"
  2228. ALT="Tip"></TD
  2229. ><TH
  2230. ALIGN="LEFT"
  2231. VALIGN="CENTER"
  2232. ><B
  2233. >Rationale</B
  2234. ></TH
  2235. ></TR
  2236. ><TR
  2237. ><TD
  2238. >&nbsp;</TD
  2239. ><TD
  2240. ALIGN="LEFT"
  2241. VALIGN="TOP"
  2242. ><P
  2243. >For example bash behaves differently when called as
  2244. <B
  2245. CLASS="COMMAND"
  2246. >sh</B
  2247. > or <B
  2248. CLASS="COMMAND"
  2249. >bash</B
  2250. >. The use of a
  2251. symbolic link also allows users to easily see that
  2252. <B
  2253. CLASS="COMMAND"
  2254. >/bin/sh</B
  2255. > is not a true Bourne shell.</P
  2256. ><P
  2257. >The requirement for the <B
  2258. CLASS="COMMAND"
  2259. >[</B
  2260. > and
  2261. <B
  2262. CLASS="COMMAND"
  2263. >test</B
  2264. > commands to be included as binaries (even if
  2265. implemented internally by the shell) is shared with the POSIX.2
  2266. standard.&#13;</P
  2267. ></TD
  2268. ></TR
  2269. ></TABLE
  2270. ></DIV
  2271. ></DIV
  2272. ><DIV
  2273. CLASS="SECTION"
  2274. ><HR><H3
  2275. CLASS="SECTION"
  2276. ><A
  2277. NAME="SPECIFICOPTIONS2"
  2278. >Specific Options</A
  2279. ></H3
  2280. ><P
  2281. >The following programs, or symbolic links to programs, must be
  2282. in <TT
  2283. CLASS="FILENAME"
  2284. >/bin</TT
  2285. > if the corresponding subsystem is
  2286. installed:</P
  2287. ><DIV
  2288. CLASS="INFORMALTABLE"
  2289. ><P
  2290. ></P
  2291. ><A
  2292. NAME="AEN431"
  2293. ></A
  2294. ><TABLE
  2295. BORDER="0"
  2296. FRAME="void"
  2297. CLASS="CALSTABLE"
  2298. ><COL><COL><THEAD
  2299. ><TR
  2300. ><TH
  2301. >Command</TH
  2302. ><TH
  2303. >Description</TH
  2304. ></TR
  2305. ></THEAD
  2306. ><TBODY
  2307. ><TR
  2308. ><TD
  2309. ><B
  2310. CLASS="COMMAND"
  2311. >csh</B
  2312. ></TD
  2313. ><TD
  2314. >The C shell (optional)</TD
  2315. ></TR
  2316. ><TR
  2317. ><TD
  2318. ><B
  2319. CLASS="COMMAND"
  2320. >ed</B
  2321. ></TD
  2322. ><TD
  2323. >The `ed' editor (optional)</TD
  2324. ></TR
  2325. ><TR
  2326. ><TD
  2327. ><B
  2328. CLASS="COMMAND"
  2329. >tar</B
  2330. ></TD
  2331. ><TD
  2332. >The tar archiving utility (optional)</TD
  2333. ></TR
  2334. ><TR
  2335. ><TD
  2336. ><B
  2337. CLASS="COMMAND"
  2338. >cpio</B
  2339. ></TD
  2340. ><TD
  2341. >The cpio archiving utility (optional)</TD
  2342. ></TR
  2343. ><TR
  2344. ><TD
  2345. ><B
  2346. CLASS="COMMAND"
  2347. >gzip</B
  2348. ></TD
  2349. ><TD
  2350. >The GNU compression utility (optional)</TD
  2351. ></TR
  2352. ><TR
  2353. ><TD
  2354. ><B
  2355. CLASS="COMMAND"
  2356. >gunzip</B
  2357. ></TD
  2358. ><TD
  2359. >The GNU uncompression utility (optional)</TD
  2360. ></TR
  2361. ><TR
  2362. ><TD
  2363. ><B
  2364. CLASS="COMMAND"
  2365. >zcat</B
  2366. ></TD
  2367. ><TD
  2368. >The GNU uncompression utility (optional)</TD
  2369. ></TR
  2370. ><TR
  2371. ><TD
  2372. ><B
  2373. CLASS="COMMAND"
  2374. >netstat</B
  2375. ></TD
  2376. ><TD
  2377. >The network statistics utility (optional)</TD
  2378. ></TR
  2379. ><TR
  2380. ><TD
  2381. ><B
  2382. CLASS="COMMAND"
  2383. >ping</B
  2384. ></TD
  2385. ><TD
  2386. >The ICMP network test utility (optional)</TD
  2387. ></TR
  2388. ></TBODY
  2389. ></TABLE
  2390. ><P
  2391. ></P
  2392. ></DIV
  2393. ><P
  2394. >If the <B
  2395. CLASS="COMMAND"
  2396. >gunzip</B
  2397. > and <B
  2398. CLASS="COMMAND"
  2399. >zcat</B
  2400. >
  2401. programs exist, they must be symbolic or hard links to
  2402. gzip. <B
  2403. CLASS="COMMAND"
  2404. >/bin/csh</B
  2405. > may be a symbolic link to
  2406. <B
  2407. CLASS="COMMAND"
  2408. >/bin/tcsh</B
  2409. > or
  2410. <B
  2411. CLASS="COMMAND"
  2412. >/usr/bin/tcsh</B
  2413. >.</P
  2414. ><DIV
  2415. CLASS="TIP"
  2416. ><P
  2417. ></P
  2418. ><TABLE
  2419. CLASS="TIP"
  2420. WIDTH="100%"
  2421. BORDER="0"
  2422. ><TR
  2423. ><TD
  2424. WIDTH="25"
  2425. ALIGN="CENTER"
  2426. VALIGN="TOP"
  2427. ><IMG
  2428. SRC="tip.gif"
  2429. HSPACE="5"
  2430. ALT="Tip"></TD
  2431. ><TH
  2432. ALIGN="LEFT"
  2433. VALIGN="CENTER"
  2434. ><B
  2435. >Rationale</B
  2436. ></TH
  2437. ></TR
  2438. ><TR
  2439. ><TD
  2440. >&nbsp;</TD
  2441. ><TD
  2442. ALIGN="LEFT"
  2443. VALIGN="TOP"
  2444. ><P
  2445. >The tar, gzip and cpio commands have been added to make restoration of a
  2446. system possible (provided that <TT
  2447. CLASS="FILENAME"
  2448. >/</TT
  2449. > is intact).</P
  2450. ><P
  2451. >Conversely, if no restoration from the root partition is ever
  2452. expected, then these binaries might be omitted (e.g., a ROM chip root,
  2453. mounting <TT
  2454. CLASS="FILENAME"
  2455. >/usr</TT
  2456. > through NFS). If restoration of a
  2457. system is planned through the network, then <B
  2458. CLASS="COMMAND"
  2459. >ftp</B
  2460. >
  2461. or <B
  2462. CLASS="COMMAND"
  2463. >tftp</B
  2464. > (along with everything necessary to get
  2465. an ftp connection) must be available on the root partition.&#13;</P
  2466. ></TD
  2467. ></TR
  2468. ></TABLE
  2469. ></DIV
  2470. ></DIV
  2471. ></DIV
  2472. ><DIV
  2473. CLASS="SECTION"
  2474. ><HR><H2
  2475. CLASS="SECTION"
  2476. ><A
  2477. NAME="BOOTSTATICFILESOFTHEBOOTLOADER"
  2478. >/boot : Static files of the boot loader</A
  2479. ></H2
  2480. ><DIV
  2481. CLASS="SECTION"
  2482. ><H3
  2483. CLASS="SECTION"
  2484. ><A
  2485. NAME="PURPOSE4"
  2486. >Purpose</A
  2487. ></H3
  2488. ><P
  2489. >This directory contains everything required for the boot process
  2490. except configuration files not needed at boot time and the map
  2491. installer. Thus /boot stores data that is used before the kernel
  2492. begins executing user-mode programs. This may include saved master
  2493. boot sectors and sector map files.
  2494. <A
  2495. NAME="AEN493"
  2496. HREF="#FTN.AEN493"
  2497. ><SPAN
  2498. CLASS="footnote"
  2499. >[2]</SPAN
  2500. ></A
  2501. >&#13;</P
  2502. ></DIV
  2503. ><DIV
  2504. CLASS="SECTION"
  2505. ><HR><H3
  2506. CLASS="SECTION"
  2507. ><A
  2508. NAME="SPECIFICOPTIONS3"
  2509. >Specific Options</A
  2510. ></H3
  2511. ><P
  2512. >The operating system kernel must be located in either
  2513. <TT
  2514. CLASS="FILENAME"
  2515. >/</TT
  2516. > or <TT
  2517. CLASS="FILENAME"
  2518. >/boot</TT
  2519. >.
  2520. <A
  2521. NAME="AEN507"
  2522. HREF="#FTN.AEN507"
  2523. ><SPAN
  2524. CLASS="footnote"
  2525. >[3]</SPAN
  2526. ></A
  2527. ></P
  2528. ></DIV
  2529. ></DIV
  2530. ><DIV
  2531. CLASS="SECTION"
  2532. ><HR><H2
  2533. CLASS="SECTION"
  2534. ><A
  2535. NAME="DEVDEVICEFILES"
  2536. >/dev : Device files</A
  2537. ></H2
  2538. ><DIV
  2539. CLASS="SECTION"
  2540. ><H3
  2541. CLASS="SECTION"
  2542. ><A
  2543. NAME="PURPOSE5"
  2544. >Purpose</A
  2545. ></H3
  2546. ><P
  2547. >The <TT
  2548. CLASS="FILENAME"
  2549. >/dev</TT
  2550. > directory is the location of
  2551. special or device files.</P
  2552. ></DIV
  2553. ><DIV
  2554. CLASS="SECTION"
  2555. ><HR><H3
  2556. CLASS="SECTION"
  2557. ><A
  2558. NAME="SPECIFICOPTIONS4"
  2559. >Specific Options</A
  2560. ></H3
  2561. ><P
  2562. >If it is possible that devices in <TT
  2563. CLASS="FILENAME"
  2564. >/dev</TT
  2565. > will
  2566. need to be manually created, <TT
  2567. CLASS="FILENAME"
  2568. >/dev</TT
  2569. > must contain a
  2570. command named <TT
  2571. CLASS="FILENAME"
  2572. >MAKEDEV</TT
  2573. >, which can create devices
  2574. as needed. It may also contain a <TT
  2575. CLASS="FILENAME"
  2576. >MAKEDEV.local</TT
  2577. >
  2578. for any local devices.</P
  2579. ><P
  2580. >If required, <TT
  2581. CLASS="FILENAME"
  2582. >MAKEDEV</TT
  2583. > must have provisions
  2584. for creating any device that may be found on the system, not just
  2585. those that a particular implementation installs.</P
  2586. ></DIV
  2587. ></DIV
  2588. ><DIV
  2589. CLASS="SECTION"
  2590. ><HR><H2
  2591. CLASS="SECTION"
  2592. ><A
  2593. NAME="ETCHOSTSPECIFICSYSTEMCONFIGURATION"
  2594. >/etc : Host-specific system configuration</A
  2595. ></H2
  2596. ><DIV
  2597. CLASS="SECTION"
  2598. ><H3
  2599. CLASS="SECTION"
  2600. ><A
  2601. NAME="PURPOSE6"
  2602. >Purpose</A
  2603. ></H3
  2604. ><P
  2605. >The <TT
  2606. CLASS="FILENAME"
  2607. >/etc</TT
  2608. > hierarchy contains configuration
  2609. files. A "configuration file" is a local file used to control the
  2610. operation of a program; it must be static and cannot be an executable
  2611. binary.
  2612. <A
  2613. NAME="AEN534"
  2614. HREF="#FTN.AEN534"
  2615. ><SPAN
  2616. CLASS="footnote"
  2617. >[4]</SPAN
  2618. ></A
  2619. ></P
  2620. ></DIV
  2621. ><DIV
  2622. CLASS="SECTION"
  2623. ><HR><H3
  2624. CLASS="SECTION"
  2625. ><A
  2626. NAME="REQUIREMENTS3"
  2627. >Requirements</A
  2628. ></H3
  2629. ><P
  2630. >No binaries may be located under <TT
  2631. CLASS="FILENAME"
  2632. >/etc</TT
  2633. >.
  2634. <A
  2635. NAME="AEN540"
  2636. HREF="#FTN.AEN540"
  2637. ><SPAN
  2638. CLASS="footnote"
  2639. >[5]</SPAN
  2640. ></A
  2641. ></P
  2642. ><P
  2643. >The following directories, or symbolic links to directories are
  2644. required in <TT
  2645. CLASS="FILENAME"
  2646. >/etc</TT
  2647. >:</P
  2648. ><DIV
  2649. CLASS="INFORMALTABLE"
  2650. ><P
  2651. ></P
  2652. ><A
  2653. NAME="AEN546"
  2654. ></A
  2655. ><TABLE
  2656. BORDER="0"
  2657. FRAME="void"
  2658. CLASS="CALSTABLE"
  2659. ><COL><COL><THEAD
  2660. ><TR
  2661. ><TH
  2662. >Directory</TH
  2663. ><TH
  2664. >Description</TH
  2665. ></TR
  2666. ></THEAD
  2667. ><TBODY
  2668. ><TR
  2669. ><TD
  2670. >opt</TD
  2671. ><TD
  2672. >Configuration for /opt</TD
  2673. ></TR
  2674. ><TR
  2675. ><TD
  2676. >X11</TD
  2677. ><TD
  2678. >Configuration for the X Window system (optional)</TD
  2679. ></TR
  2680. ><TR
  2681. ><TD
  2682. >sgml</TD
  2683. ><TD
  2684. >Configuration for SGML (optional)</TD
  2685. ></TR
  2686. ><TR
  2687. ><TD
  2688. >xml</TD
  2689. ><TD
  2690. >Configuration for XML (optional)</TD
  2691. ></TR
  2692. ></TBODY
  2693. ></TABLE
  2694. ><P
  2695. ></P
  2696. ></DIV
  2697. ></DIV
  2698. ><DIV
  2699. CLASS="SECTION"
  2700. ><HR><H3
  2701. CLASS="SECTION"
  2702. ><A
  2703. NAME="SPECIFICOPTIONS5"
  2704. >Specific Options</A
  2705. ></H3
  2706. ><P
  2707. >The following directories, or symbolic links to directories must
  2708. be in <TT
  2709. CLASS="FILENAME"
  2710. >/etc</TT
  2711. >, if the corresponding subsystem is
  2712. installed:</P
  2713. ><DIV
  2714. CLASS="INFORMALTABLE"
  2715. ><P
  2716. ></P
  2717. ><A
  2718. NAME="AEN569"
  2719. ></A
  2720. ><TABLE
  2721. BORDER="0"
  2722. FRAME="void"
  2723. CLASS="CALSTABLE"
  2724. ><COL><COL><THEAD
  2725. ><TR
  2726. ><TH
  2727. >Directory</TH
  2728. ><TH
  2729. >Description</TH
  2730. ></TR
  2731. ></THEAD
  2732. ><TBODY
  2733. ><TR
  2734. ><TD
  2735. >opt</TD
  2736. ><TD
  2737. >Configuration for /opt</TD
  2738. ></TR
  2739. ></TBODY
  2740. ></TABLE
  2741. ><P
  2742. ></P
  2743. ></DIV
  2744. ><P
  2745. >The following files, or symbolic links to files, must be in
  2746. <TT
  2747. CLASS="FILENAME"
  2748. >/etc</TT
  2749. > if the corresponding subsystem is
  2750. installed:
  2751. <A
  2752. NAME="AEN581"
  2753. HREF="#FTN.AEN581"
  2754. ><SPAN
  2755. CLASS="footnote"
  2756. >[6]</SPAN
  2757. ></A
  2758. ></P
  2759. ><DIV
  2760. CLASS="INFORMALTABLE"
  2761. ><P
  2762. ></P
  2763. ><A
  2764. NAME="AEN588"
  2765. ></A
  2766. ><TABLE
  2767. BORDER="0"
  2768. FRAME="void"
  2769. CLASS="CALSTABLE"
  2770. ><COL><COL><THEAD
  2771. ><TR
  2772. ><TH
  2773. >File</TH
  2774. ><TH
  2775. >Description</TH
  2776. ></TR
  2777. ></THEAD
  2778. ><TBODY
  2779. ><TR
  2780. ><TD
  2781. ><TT
  2782. CLASS="FILENAME"
  2783. >csh.login</TT
  2784. ></TD
  2785. ><TD
  2786. >Systemwide initialization file for C shell logins (optional)</TD
  2787. ></TR
  2788. ><TR
  2789. ><TD
  2790. ><TT
  2791. CLASS="FILENAME"
  2792. >exports</TT
  2793. ></TD
  2794. ><TD
  2795. >NFS filesystem access control list (optional)</TD
  2796. ></TR
  2797. ><TR
  2798. ><TD
  2799. ><TT
  2800. CLASS="FILENAME"
  2801. >fstab</TT
  2802. ></TD
  2803. ><TD
  2804. >Static information about filesystems (optional)</TD
  2805. ></TR
  2806. ><TR
  2807. ><TD
  2808. ><TT
  2809. CLASS="FILENAME"
  2810. >ftpusers</TT
  2811. ></TD
  2812. ><TD
  2813. >FTP daemon user access control list (optional)</TD
  2814. ></TR
  2815. ><TR
  2816. ><TD
  2817. ><TT
  2818. CLASS="FILENAME"
  2819. >gateways</TT
  2820. ></TD
  2821. ><TD
  2822. >File which lists gateways for routed (optional)</TD
  2823. ></TR
  2824. ><TR
  2825. ><TD
  2826. ><TT
  2827. CLASS="FILENAME"
  2828. >gettydefs</TT
  2829. ></TD
  2830. ><TD
  2831. >Speed and terminal settings used by getty (optional)</TD
  2832. ></TR
  2833. ><TR
  2834. ><TD
  2835. ><TT
  2836. CLASS="FILENAME"
  2837. >group</TT
  2838. ></TD
  2839. ><TD
  2840. >User group file (optional)</TD
  2841. ></TR
  2842. ><TR
  2843. ><TD
  2844. ><TT
  2845. CLASS="FILENAME"
  2846. >host.conf</TT
  2847. ></TD
  2848. ><TD
  2849. >Resolver configuration file (optional)</TD
  2850. ></TR
  2851. ><TR
  2852. ><TD
  2853. ><TT
  2854. CLASS="FILENAME"
  2855. >hosts</TT
  2856. ></TD
  2857. ><TD
  2858. >Static information about host names (optional)</TD
  2859. ></TR
  2860. ><TR
  2861. ><TD
  2862. ><TT
  2863. CLASS="FILENAME"
  2864. >hosts.allow</TT
  2865. ></TD
  2866. ><TD
  2867. >Host access file for TCP wrappers (optional)</TD
  2868. ></TR
  2869. ><TR
  2870. ><TD
  2871. ><TT
  2872. CLASS="FILENAME"
  2873. >hosts.deny</TT
  2874. ></TD
  2875. ><TD
  2876. >Host access file for TCP wrappers (optional)</TD
  2877. ></TR
  2878. ><TR
  2879. ><TD
  2880. ><TT
  2881. CLASS="FILENAME"
  2882. >hosts.equiv</TT
  2883. ></TD
  2884. ><TD
  2885. >List of trusted hosts for rlogin, rsh, rcp (optional)</TD
  2886. ></TR
  2887. ><TR
  2888. ><TD
  2889. ><TT
  2890. CLASS="FILENAME"
  2891. >hosts.lpd</TT
  2892. ></TD
  2893. ><TD
  2894. >List of trusted hosts for lpd (optional)</TD
  2895. ></TR
  2896. ><TR
  2897. ><TD
  2898. ><TT
  2899. CLASS="FILENAME"
  2900. >inetd.conf</TT
  2901. ></TD
  2902. ><TD
  2903. >Configuration file for inetd (optional)</TD
  2904. ></TR
  2905. ><TR
  2906. ><TD
  2907. ><TT
  2908. CLASS="FILENAME"
  2909. >inittab</TT
  2910. ></TD
  2911. ><TD
  2912. >Configuration file for init (optional)</TD
  2913. ></TR
  2914. ><TR
  2915. ><TD
  2916. ><TT
  2917. CLASS="FILENAME"
  2918. >issue</TT
  2919. ></TD
  2920. ><TD
  2921. >Pre-login message and identification file (optional)</TD
  2922. ></TR
  2923. ><TR
  2924. ><TD
  2925. ><TT
  2926. CLASS="FILENAME"
  2927. >ld.so.conf</TT
  2928. ></TD
  2929. ><TD
  2930. >List of extra directories to search for shared libraries (optional)</TD
  2931. ></TR
  2932. ><TR
  2933. ><TD
  2934. ><TT
  2935. CLASS="FILENAME"
  2936. >motd</TT
  2937. ></TD
  2938. ><TD
  2939. >Post-login message of the day file (optional)</TD
  2940. ></TR
  2941. ><TR
  2942. ><TD
  2943. ><TT
  2944. CLASS="FILENAME"
  2945. >mtab</TT
  2946. ></TD
  2947. ><TD
  2948. >Dynamic information about filesystems (optional)</TD
  2949. ></TR
  2950. ><TR
  2951. ><TD
  2952. ><TT
  2953. CLASS="FILENAME"
  2954. >mtools.conf</TT
  2955. ></TD
  2956. ><TD
  2957. >Configuration file for mtools (optional)</TD
  2958. ></TR
  2959. ><TR
  2960. ><TD
  2961. ><TT
  2962. CLASS="FILENAME"
  2963. >networks</TT
  2964. ></TD
  2965. ><TD
  2966. >Static information about network names (optional)</TD
  2967. ></TR
  2968. ><TR
  2969. ><TD
  2970. ><TT
  2971. CLASS="FILENAME"
  2972. >passwd</TT
  2973. ></TD
  2974. ><TD
  2975. >The password file (optional)</TD
  2976. ></TR
  2977. ><TR
  2978. ><TD
  2979. ><TT
  2980. CLASS="FILENAME"
  2981. >printcap</TT
  2982. ></TD
  2983. ><TD
  2984. >The lpd printer capability database (optional)</TD
  2985. ></TR
  2986. ><TR
  2987. ><TD
  2988. ><TT
  2989. CLASS="FILENAME"
  2990. >profile</TT
  2991. ></TD
  2992. ><TD
  2993. >Systemwide initialization file for sh shell logins (optional)</TD
  2994. ></TR
  2995. ><TR
  2996. ><TD
  2997. ><TT
  2998. CLASS="FILENAME"
  2999. >protocols</TT
  3000. ></TD
  3001. ><TD
  3002. >IP protocol listing (optional)</TD
  3003. ></TR
  3004. ><TR
  3005. ><TD
  3006. ><TT
  3007. CLASS="FILENAME"
  3008. >resolv.conf</TT
  3009. ></TD
  3010. ><TD
  3011. >Resolver configuration file (optional)</TD
  3012. ></TR
  3013. ><TR
  3014. ><TD
  3015. ><TT
  3016. CLASS="FILENAME"
  3017. >rpc</TT
  3018. ></TD
  3019. ><TD
  3020. >RPC protocol listing (optional)</TD
  3021. ></TR
  3022. ><TR
  3023. ><TD
  3024. ><TT
  3025. CLASS="FILENAME"
  3026. >securetty</TT
  3027. ></TD
  3028. ><TD
  3029. >TTY access control for root login (optional)</TD
  3030. ></TR
  3031. ><TR
  3032. ><TD
  3033. ><TT
  3034. CLASS="FILENAME"
  3035. >services</TT
  3036. ></TD
  3037. ><TD
  3038. >Port names for network services (optional)</TD
  3039. ></TR
  3040. ><TR
  3041. ><TD
  3042. ><TT
  3043. CLASS="FILENAME"
  3044. >shells</TT
  3045. ></TD
  3046. ><TD
  3047. >Pathnames of valid login shells (optional)</TD
  3048. ></TR
  3049. ><TR
  3050. ><TD
  3051. ><TT
  3052. CLASS="FILENAME"
  3053. >syslog.conf</TT
  3054. ></TD
  3055. ><TD
  3056. >Configuration file for syslogd (optional)</TD
  3057. ></TR
  3058. ></TBODY
  3059. ></TABLE
  3060. ><P
  3061. ></P
  3062. ></DIV
  3063. ><P
  3064. ><TT
  3065. CLASS="FILENAME"
  3066. >mtab</TT
  3067. > does not fit the static nature of
  3068. <TT
  3069. CLASS="FILENAME"
  3070. >/etc</TT
  3071. >: it is excepted for historical reasons.
  3072. <A
  3073. NAME="AEN722"
  3074. HREF="#FTN.AEN722"
  3075. ><SPAN
  3076. CLASS="footnote"
  3077. >[7]</SPAN
  3078. ></A
  3079. >&#13;</P
  3080. ></DIV
  3081. ><DIV
  3082. CLASS="SECTION"
  3083. ><HR><H3
  3084. CLASS="SECTION"
  3085. ><A
  3086. NAME="ETCOPTCONFIGURATIONFILESFOROPT"
  3087. >/etc/opt : Configuration files for /opt</A
  3088. ></H3
  3089. ><DIV
  3090. CLASS="SECTION"
  3091. ><H4
  3092. CLASS="SECTION"
  3093. ><A
  3094. NAME="PURPOSE7"
  3095. >Purpose</A
  3096. ></H4
  3097. ><P
  3098. >Host-specific configuration files for add-on application
  3099. software packages must be installed within the directory
  3100. <TT
  3101. CLASS="FILENAME"
  3102. >/etc/opt/&lt;subdir&gt;</TT
  3103. >, where
  3104. <TT
  3105. CLASS="FILENAME"
  3106. >&lt;subdir&gt;</TT
  3107. > is the name of the subtree in
  3108. <TT
  3109. CLASS="FILENAME"
  3110. >/opt</TT
  3111. > where the static data from that package is
  3112. stored.</P
  3113. ></DIV
  3114. ><DIV
  3115. CLASS="SECTION"
  3116. ><HR><H4
  3117. CLASS="SECTION"
  3118. ><A
  3119. NAME="REQUIREMENTS4"
  3120. >Requirements</A
  3121. ></H4
  3122. ><P
  3123. >No structure is imposed on the internal arrangement of
  3124. <TT
  3125. CLASS="FILENAME"
  3126. >/etc/opt/&lt;subdir&gt;</TT
  3127. >.</P
  3128. ><P
  3129. >If a configuration file must reside in a different location in
  3130. order for the package or system to function properly, it may be placed
  3131. in a location other than
  3132. <TT
  3133. CLASS="FILENAME"
  3134. >/etc/opt/&lt;subdir&gt;</TT
  3135. >.</P
  3136. ><DIV
  3137. CLASS="TIP"
  3138. ><P
  3139. ></P
  3140. ><TABLE
  3141. CLASS="TIP"
  3142. WIDTH="100%"
  3143. BORDER="0"
  3144. ><TR
  3145. ><TD
  3146. WIDTH="25"
  3147. ALIGN="CENTER"
  3148. VALIGN="TOP"
  3149. ><IMG
  3150. SRC="tip.gif"
  3151. HSPACE="5"
  3152. ALT="Tip"></TD
  3153. ><TH
  3154. ALIGN="LEFT"
  3155. VALIGN="CENTER"
  3156. ><B
  3157. >Rationale</B
  3158. ></TH
  3159. ></TR
  3160. ><TR
  3161. ><TD
  3162. >&nbsp;</TD
  3163. ><TD
  3164. ALIGN="LEFT"
  3165. VALIGN="TOP"
  3166. ><P
  3167. >Refer to the rationale for <TT
  3168. CLASS="FILENAME"
  3169. >/opt</TT
  3170. >.</P
  3171. ></TD
  3172. ></TR
  3173. ></TABLE
  3174. ></DIV
  3175. ></DIV
  3176. ></DIV
  3177. ><DIV
  3178. CLASS="SECTION"
  3179. ><HR><H3
  3180. CLASS="SECTION"
  3181. ><A
  3182. NAME="ETCX11CONFIGURATIONFORTHEXWINDOWS"
  3183. >/etc/X11 : Configuration for the X Window System (optional)</A
  3184. ></H3
  3185. ><DIV
  3186. CLASS="SECTION"
  3187. ><H4
  3188. CLASS="SECTION"
  3189. ><A
  3190. NAME="PURPOSE8"
  3191. >Purpose</A
  3192. ></H4
  3193. ><P
  3194. ><SPAN
  3195. CLASS="emphasis"
  3196. ><I
  3197. CLASS="EMPHASIS"
  3198. >/etc/X11</I
  3199. ></SPAN
  3200. > is the location for all X11
  3201. host-specific configuration. This directory is necessary to allow
  3202. local control if <SPAN
  3203. CLASS="emphasis"
  3204. ><I
  3205. CLASS="EMPHASIS"
  3206. >/usr</I
  3207. ></SPAN
  3208. > is mounted read
  3209. only.</P
  3210. ></DIV
  3211. ><DIV
  3212. CLASS="SECTION"
  3213. ><HR><H4
  3214. CLASS="SECTION"
  3215. ><A
  3216. NAME="SPECIFICOPTIONS6"
  3217. >Specific Options</A
  3218. ></H4
  3219. ><P
  3220. >The following files, or symbolic links to files, must be in
  3221. <TT
  3222. CLASS="FILENAME"
  3223. >/etc/X11</TT
  3224. > if the corresponding subsystem is
  3225. installed:</P
  3226. ><DIV
  3227. CLASS="INFORMALTABLE"
  3228. ><P
  3229. ></P
  3230. ><A
  3231. NAME="AEN754"
  3232. ></A
  3233. ><TABLE
  3234. BORDER="0"
  3235. FRAME="void"
  3236. CLASS="CALSTABLE"
  3237. ><COL
  3238. WIDTH="1*"
  3239. TITLE="C1"><COL
  3240. WIDTH="1*"
  3241. TITLE="C2"><THEAD
  3242. ><TR
  3243. ><TH
  3244. >File</TH
  3245. ><TH
  3246. >Description</TH
  3247. ></TR
  3248. ></THEAD
  3249. ><TBODY
  3250. ><TR
  3251. ><TD
  3252. ><TT
  3253. CLASS="FILENAME"
  3254. >Xconfig</TT
  3255. ></TD
  3256. ><TD
  3257. >The configuration file for early versions of XFree86 (optional)</TD
  3258. ></TR
  3259. ><TR
  3260. ><TD
  3261. ><TT
  3262. CLASS="FILENAME"
  3263. >XF86Config</TT
  3264. ></TD
  3265. ><TD
  3266. >The configuration file for XFree86 versions 3 and 4 (optional)</TD
  3267. ></TR
  3268. ><TR
  3269. ><TD
  3270. ><TT
  3271. CLASS="FILENAME"
  3272. >Xmodmap</TT
  3273. ></TD
  3274. ><TD
  3275. >Global X11 keyboard modification file (optional)</TD
  3276. ></TR
  3277. ></TBODY
  3278. ></TABLE
  3279. ><P
  3280. ></P
  3281. ></DIV
  3282. ><P
  3283. >Subdirectories of <TT
  3284. CLASS="FILENAME"
  3285. >/etc/X11</TT
  3286. > may include
  3287. those for <TT
  3288. CLASS="FILENAME"
  3289. >xdm</TT
  3290. > and for any other programs (some
  3291. window managers, for example) that need them.
  3292. <A
  3293. NAME="AEN778"
  3294. HREF="#FTN.AEN778"
  3295. ><SPAN
  3296. CLASS="footnote"
  3297. >[8]</SPAN
  3298. ></A
  3299. >
  3300. We recommend that window managers with only one configuration file
  3301. which is a default <TT
  3302. CLASS="FILENAME"
  3303. >.*wmrc</TT
  3304. > file must name it
  3305. <TT
  3306. CLASS="FILENAME"
  3307. >system.*wmrc</TT
  3308. > (unless there is a widely-accepted
  3309. alternative name) and not use a subdirectory. Any window manager
  3310. subdirectories must be identically named to the actual window manager
  3311. binary.</P
  3312. ></DIV
  3313. ></DIV
  3314. ><DIV
  3315. CLASS="SECTION"
  3316. ><HR><H3
  3317. CLASS="SECTION"
  3318. ><A
  3319. NAME="ETCSGMLCONFIGURATIONFILESFORSGMLAN"
  3320. >/etc/sgml : Configuration files for SGML (optional)</A
  3321. ></H3
  3322. ><DIV
  3323. CLASS="SECTION"
  3324. ><H4
  3325. CLASS="SECTION"
  3326. ><A
  3327. NAME="PURPOSE9"
  3328. >Purpose</A
  3329. ></H4
  3330. ><P
  3331. >Generic configuration files defining high-level parameters of
  3332. the SGML systems are installed here. Files with names
  3333. <TT
  3334. CLASS="FILENAME"
  3335. >*.conf</TT
  3336. > indicate generic configuration files.
  3337. File with names <TT
  3338. CLASS="FILENAME"
  3339. >*.cat</TT
  3340. > are the DTD-specific
  3341. centralized catalogs, containing references to all other catalogs
  3342. needed to use the given DTD. The super catalog file
  3343. <TT
  3344. CLASS="FILENAME"
  3345. >catalog</TT
  3346. > references all the centralized
  3347. catalogs.</P
  3348. ></DIV
  3349. ></DIV
  3350. ><DIV
  3351. CLASS="SECTION"
  3352. ><HR><H3
  3353. CLASS="SECTION"
  3354. ><A
  3355. NAME="AEN795"
  3356. >/etc/xml : Configuration files for XML (optional)</A
  3357. ></H3
  3358. ><DIV
  3359. CLASS="SECTION"
  3360. ><H4
  3361. CLASS="SECTION"
  3362. ><A
  3363. NAME="AEN797"
  3364. >Purpose</A
  3365. ></H4
  3366. ><P
  3367. >Generic configuration files defining high-level parameters of
  3368. the XML systems are installed here. Files with names
  3369. <TT
  3370. CLASS="FILENAME"
  3371. >*.conf</TT
  3372. > indicate generic configuration files.
  3373. The super catalog file
  3374. <TT
  3375. CLASS="FILENAME"
  3376. >catalog</TT
  3377. > references all the centralized
  3378. catalogs.</P
  3379. ></DIV
  3380. ></DIV
  3381. ></DIV
  3382. ><DIV
  3383. CLASS="SECTION"
  3384. ><HR><H2
  3385. CLASS="SECTION"
  3386. ><A
  3387. NAME="HOMEUSERHOMEDIRECTORIES"
  3388. >/home : User home directories (optional)</A
  3389. ></H2
  3390. ><DIV
  3391. CLASS="SECTION"
  3392. ><H3
  3393. CLASS="SECTION"
  3394. ><A
  3395. NAME="PURPOSE10"
  3396. >Purpose</A
  3397. ></H3
  3398. ><P
  3399. ><TT
  3400. CLASS="FILENAME"
  3401. >/home</TT
  3402. > is a fairly standard concept, but it
  3403. is clearly a site-specific filesystem.
  3404. <A
  3405. NAME="AEN808"
  3406. HREF="#FTN.AEN808"
  3407. ><SPAN
  3408. CLASS="footnote"
  3409. >[9]</SPAN
  3410. ></A
  3411. >
  3412. The setup will differ from host to host. Therefore, no program should
  3413. rely on this location.
  3414. <A
  3415. NAME="AEN819"
  3416. HREF="#FTN.AEN819"
  3417. ><SPAN
  3418. CLASS="footnote"
  3419. >[10]</SPAN
  3420. ></A
  3421. >&#13;</P
  3422. ></DIV
  3423. ><DIV
  3424. CLASS="SECTION"
  3425. ><HR><H3
  3426. CLASS="SECTION"
  3427. ><A
  3428. NAME="REQUIREMENTS4A"
  3429. >Requirements</A
  3430. ></H3
  3431. ><P
  3432. >User specific configuration files for applications are stored in the
  3433. user's home directory in a file that starts with the '.' character (a
  3434. "dot file"). If an application needs to create more than one dot file
  3435. then they should be placed in a subdirectory with a name starting with
  3436. a '.' character, (a "dot directory"). In this case the configuration
  3437. files should not start with the '.' character.
  3438. <A
  3439. NAME="AEN826"
  3440. HREF="#FTN.AEN826"
  3441. ><SPAN
  3442. CLASS="footnote"
  3443. >[11]</SPAN
  3444. ></A
  3445. ></P
  3446. ></DIV
  3447. ></DIV
  3448. ><DIV
  3449. CLASS="SECTION"
  3450. ><HR><H2
  3451. CLASS="SECTION"
  3452. ><A
  3453. NAME="LIBESSENTIALSHAREDLIBRARIESANDKERN"
  3454. >/lib : Essential shared libraries and kernel modules</A
  3455. ></H2
  3456. ><DIV
  3457. CLASS="SECTION"
  3458. ><H3
  3459. CLASS="SECTION"
  3460. ><A
  3461. NAME="PURPOSE11"
  3462. >Purpose</A
  3463. ></H3
  3464. ><P
  3465. >The <TT
  3466. CLASS="FILENAME"
  3467. >/lib</TT
  3468. > directory contains those shared
  3469. library images needed to boot the system and run the commands in the
  3470. root filesystem, ie. by binaries in <TT
  3471. CLASS="FILENAME"
  3472. >/bin</TT
  3473. > and
  3474. <TT
  3475. CLASS="FILENAME"
  3476. >/sbin</TT
  3477. >.
  3478. <A
  3479. NAME="AEN836"
  3480. HREF="#FTN.AEN836"
  3481. ><SPAN
  3482. CLASS="footnote"
  3483. >[12]</SPAN
  3484. ></A
  3485. ></P
  3486. ></DIV
  3487. ><DIV
  3488. CLASS="SECTION"
  3489. ><HR><H3
  3490. CLASS="SECTION"
  3491. ><A
  3492. NAME="REQUIREMENTS5"
  3493. >Requirements</A
  3494. ></H3
  3495. ><P
  3496. >At least one of each of the following filename patterns are
  3497. required (they may be files, or symbolic links):</P
  3498. ><DIV
  3499. CLASS="INFORMALTABLE"
  3500. ><P
  3501. ></P
  3502. ><A
  3503. NAME="AEN849"
  3504. ></A
  3505. ><TABLE
  3506. BORDER="0"
  3507. FRAME="void"
  3508. CLASS="CALSTABLE"
  3509. ><COL><COL><THEAD
  3510. ><TR
  3511. ><TH
  3512. >File</TH
  3513. ><TH
  3514. >Description</TH
  3515. ></TR
  3516. ></THEAD
  3517. ><TBODY
  3518. ><TR
  3519. ><TD
  3520. ><TT
  3521. CLASS="FILENAME"
  3522. >libc.so.*</TT
  3523. ></TD
  3524. ><TD
  3525. >The dynamically-linked C library (optional)</TD
  3526. ></TR
  3527. ><TR
  3528. ><TD
  3529. ><TT
  3530. CLASS="FILENAME"
  3531. >ld*</TT
  3532. ></TD
  3533. ><TD
  3534. >The execution time linker/loader (optional)</TD
  3535. ></TR
  3536. ></TBODY
  3537. ></TABLE
  3538. ><P
  3539. ></P
  3540. ></DIV
  3541. ><P
  3542. >If a C preprocessor is installed, <SPAN
  3543. CLASS="emphasis"
  3544. ><I
  3545. CLASS="EMPHASIS"
  3546. >/lib/cpp</I
  3547. ></SPAN
  3548. >
  3549. must be a reference to it, for historical reasons.
  3550. <A
  3551. NAME="AEN866"
  3552. HREF="#FTN.AEN866"
  3553. ><SPAN
  3554. CLASS="footnote"
  3555. >[13]</SPAN
  3556. ></A
  3557. ></P
  3558. ></DIV
  3559. ><DIV
  3560. CLASS="SECTION"
  3561. ><HR><H3
  3562. CLASS="SECTION"
  3563. ><A
  3564. NAME="SPECIFICOPTIONS7"
  3565. >Specific Options</A
  3566. ></H3
  3567. ><P
  3568. >The following directories, or symbolic links to directories,
  3569. must be in <TT
  3570. CLASS="FILENAME"
  3571. >/lib</TT
  3572. >, if the corresponding subsystem
  3573. is installed:</P
  3574. ><DIV
  3575. CLASS="INFORMALTABLE"
  3576. ><P
  3577. ></P
  3578. ><A
  3579. NAME="AEN873"
  3580. ></A
  3581. ><TABLE
  3582. BORDER="0"
  3583. FRAME="void"
  3584. CLASS="CALSTABLE"
  3585. ><COL><COL><THEAD
  3586. ><TR
  3587. ><TH
  3588. >Directory</TH
  3589. ><TH
  3590. >Description</TH
  3591. ></TR
  3592. ></THEAD
  3593. ><TBODY
  3594. ><TR
  3595. ><TD
  3596. ><TT
  3597. CLASS="FILENAME"
  3598. >modules</TT
  3599. ></TD
  3600. ><TD
  3601. >Loadable kernel modules (optional)</TD
  3602. ></TR
  3603. ></TBODY
  3604. ></TABLE
  3605. ><P
  3606. ></P
  3607. ></DIV
  3608. ></DIV
  3609. ></DIV
  3610. ><DIV
  3611. CLASS="SECTION"
  3612. ><HR><H2
  3613. CLASS="SECTION"
  3614. ><A
  3615. NAME="LIBLTQUALGTALTERNATEFORMATESSENTIAL"
  3616. >/lib&lt;qual&gt; : Alternate format essential shared libraries (optional)</A
  3617. ></H2
  3618. ><DIV
  3619. CLASS="SECTION"
  3620. ><H3
  3621. CLASS="SECTION"
  3622. ><A
  3623. NAME="PURPOSE12"
  3624. >Purpose</A
  3625. ></H3
  3626. ><P
  3627. >There may be one or more variants of the
  3628. <TT
  3629. CLASS="FILENAME"
  3630. >/lib</TT
  3631. > directory on systems which support more than
  3632. one binary format requiring separate libraries.
  3633. <A
  3634. NAME="AEN890"
  3635. HREF="#FTN.AEN890"
  3636. ><SPAN
  3637. CLASS="footnote"
  3638. >[14]</SPAN
  3639. ></A
  3640. ></P
  3641. ></DIV
  3642. ><DIV
  3643. CLASS="SECTION"
  3644. ><HR><H3
  3645. CLASS="SECTION"
  3646. ><A
  3647. NAME="REQUIREMENTS6"
  3648. >Requirements</A
  3649. ></H3
  3650. ><P
  3651. >If one or more of these directories exist, the requirements for
  3652. their contents are the same as the normal <TT
  3653. CLASS="FILENAME"
  3654. >/lib</TT
  3655. >
  3656. directory, except that <TT
  3657. CLASS="FILENAME"
  3658. >/lib&lt;qual&gt;/cpp</TT
  3659. > is
  3660. not required.
  3661. <A
  3662. NAME="AEN900"
  3663. HREF="#FTN.AEN900"
  3664. ><SPAN
  3665. CLASS="footnote"
  3666. >[15]</SPAN
  3667. ></A
  3668. ></P
  3669. ></DIV
  3670. ></DIV
  3671. ><DIV
  3672. CLASS="SECTION"
  3673. ><HR><H2
  3674. CLASS="SECTION"
  3675. ><A
  3676. NAME="MEDIAMOUNTPOINT"
  3677. >/media : Mount point for removeable media</A
  3678. ></H2
  3679. ><DIV
  3680. CLASS="SECTION"
  3681. ><H3
  3682. CLASS="SECTION"
  3683. ><A
  3684. NAME="PURPOSEMEDIAMOUNTPOINT"
  3685. >Purpose</A
  3686. ></H3
  3687. ><P
  3688. >This directory contains subdirectories which are used as mount
  3689. points for removeable media such as floppy disks, cdroms and zip
  3690. disks.</P
  3691. ><DIV
  3692. CLASS="TIP"
  3693. ><P
  3694. ></P
  3695. ><TABLE
  3696. CLASS="TIP"
  3697. WIDTH="100%"
  3698. BORDER="0"
  3699. ><TR
  3700. ><TD
  3701. WIDTH="25"
  3702. ALIGN="CENTER"
  3703. VALIGN="TOP"
  3704. ><IMG
  3705. SRC="tip.gif"
  3706. HSPACE="5"
  3707. ALT="Tip"></TD
  3708. ><TH
  3709. ALIGN="LEFT"
  3710. VALIGN="CENTER"
  3711. ><B
  3712. >Rationale</B
  3713. ></TH
  3714. ></TR
  3715. ><TR
  3716. ><TD
  3717. >&nbsp;</TD
  3718. ><TD
  3719. ALIGN="LEFT"
  3720. VALIGN="TOP"
  3721. ><P
  3722. >Historically there have been a number of other different places
  3723. used to mount removeable media such as <TT
  3724. CLASS="FILENAME"
  3725. >/cdrom</TT
  3726. >,
  3727. <TT
  3728. CLASS="FILENAME"
  3729. >/mnt</TT
  3730. > or <TT
  3731. CLASS="FILENAME"
  3732. >/mnt/cdrom</TT
  3733. >. Placing
  3734. the mount points for all removeable media directly in the root
  3735. directory would potentially result in a large number of extra
  3736. directories in <TT
  3737. CLASS="FILENAME"
  3738. >/</TT
  3739. >. Although the use of
  3740. subdirectories in <TT
  3741. CLASS="FILENAME"
  3742. >/mnt</TT
  3743. > as a mount point has
  3744. recently been common, it conflicts with a much older tradition of
  3745. using <TT
  3746. CLASS="FILENAME"
  3747. >/mnt</TT
  3748. > directly as a temporary mount point.</P
  3749. ></TD
  3750. ></TR
  3751. ></TABLE
  3752. ></DIV
  3753. ></DIV
  3754. ><DIV
  3755. CLASS="SECTION"
  3756. ><HR><H3
  3757. CLASS="SECTION"
  3758. ><A
  3759. NAME="SPECIFICOPTIONSMEDIAMOUNT"
  3760. >Specific Options</A
  3761. ></H3
  3762. ><P
  3763. >The following directories, or symbolic links to directories,
  3764. must be in <TT
  3765. CLASS="FILENAME"
  3766. >/media</TT
  3767. >, if the corresponding subsystem
  3768. is installed:</P
  3769. ><DIV
  3770. CLASS="INFORMALTABLE"
  3771. ><P
  3772. ></P
  3773. ><A
  3774. NAME="AEN923"
  3775. ></A
  3776. ><TABLE
  3777. BORDER="0"
  3778. FRAME="void"
  3779. CLASS="CALSTABLE"
  3780. ><COL><COL><THEAD
  3781. ><TR
  3782. ><TH
  3783. >Directory</TH
  3784. ><TH
  3785. >Description</TH
  3786. ></TR
  3787. ></THEAD
  3788. ><TBODY
  3789. ><TR
  3790. ><TD
  3791. ><TT
  3792. CLASS="FILENAME"
  3793. >floppy</TT
  3794. ></TD
  3795. ><TD
  3796. >Floppy drive (optional)</TD
  3797. ></TR
  3798. ><TR
  3799. ><TD
  3800. ><TT
  3801. CLASS="FILENAME"
  3802. >cdrom</TT
  3803. ></TD
  3804. ><TD
  3805. >CD-ROM drive (optional)</TD
  3806. ></TR
  3807. ><TR
  3808. ><TD
  3809. ><TT
  3810. CLASS="FILENAME"
  3811. >cdrecorder</TT
  3812. ></TD
  3813. ><TD
  3814. >CD writer (optional)</TD
  3815. ></TR
  3816. ><TR
  3817. ><TD
  3818. ><TT
  3819. CLASS="FILENAME"
  3820. >zip</TT
  3821. ></TD
  3822. ><TD
  3823. >Zip drive (optional)</TD
  3824. ></TR
  3825. ></TBODY
  3826. ></TABLE
  3827. ><P
  3828. ></P
  3829. ></DIV
  3830. ><P
  3831. >On systems where more than one device exists for mounting a
  3832. certain type of media, mount directories can be created by appending a
  3833. digit to the name of those available above starting with '0', but the
  3834. unqualified name must also exist.
  3835. <A
  3836. NAME="AEN947"
  3837. HREF="#FTN.AEN947"
  3838. ><SPAN
  3839. CLASS="footnote"
  3840. >[16]</SPAN
  3841. ></A
  3842. >&#13;</P
  3843. ></DIV
  3844. ></DIV
  3845. ><DIV
  3846. CLASS="SECTION"
  3847. ><HR><H2
  3848. CLASS="SECTION"
  3849. ><A
  3850. NAME="MNTMOUNTPOINTFORATEMPORARILYMOUNT"
  3851. >/mnt : Mount point for a temporarily mounted filesystem</A
  3852. ></H2
  3853. ><DIV
  3854. CLASS="SECTION"
  3855. ><H3
  3856. CLASS="SECTION"
  3857. ><A
  3858. NAME="PURPOSE13"
  3859. >Purpose</A
  3860. ></H3
  3861. ><P
  3862. >This directory is provided so that the system administrator may
  3863. temporarily mount a filesystem as needed. The content of this
  3864. directory is a local issue and should not affect the manner in which
  3865. any program is run.</P
  3866. ><P
  3867. >This directory must not be used by installation programs: a
  3868. suitable temporary directory not in use by the system must be used
  3869. instead.</P
  3870. ></DIV
  3871. ></DIV
  3872. ><DIV
  3873. CLASS="SECTION"
  3874. ><HR><H2
  3875. CLASS="SECTION"
  3876. ><A
  3877. NAME="OPTADDONAPPLICATIONSOFTWAREPACKAGES"
  3878. >/opt : Add-on application software packages</A
  3879. ></H2
  3880. ><DIV
  3881. CLASS="SECTION"
  3882. ><H3
  3883. CLASS="SECTION"
  3884. ><A
  3885. NAME="PURPOSE14"
  3886. >Purpose</A
  3887. ></H3
  3888. ><P
  3889. ><TT
  3890. CLASS="FILENAME"
  3891. >/opt</TT
  3892. > is reserved for the installation of
  3893. add-on application software packages.</P
  3894. ><P
  3895. >A package to be installed in <TT
  3896. CLASS="FILENAME"
  3897. >/opt</TT
  3898. > must
  3899. locate its static files in a separate
  3900. <TT
  3901. CLASS="FILENAME"
  3902. >/opt/&lt;package&gt;</TT
  3903. > or
  3904. <TT
  3905. CLASS="FILENAME"
  3906. >/opt/&lt;provider&gt;</TT
  3907. > directory
  3908. tree, where <TT
  3909. CLASS="FILENAME"
  3910. >&lt;package&gt;</TT
  3911. > is a name that
  3912. describes the software package and
  3913. <TT
  3914. CLASS="FILENAME"
  3915. >&lt;provider&gt;</TT
  3916. > is the provider's LANANA
  3917. registered name.</P
  3918. ></DIV
  3919. ><DIV
  3920. CLASS="SECTION"
  3921. ><HR><H3
  3922. CLASS="SECTION"
  3923. ><A
  3924. NAME="REQUIREMENTS7"
  3925. >Requirements</A
  3926. ></H3
  3927. ><DIV
  3928. CLASS="INFORMALTABLE"
  3929. ><P
  3930. ></P
  3931. ><A
  3932. NAME="AEN972"
  3933. ></A
  3934. ><TABLE
  3935. BORDER="0"
  3936. FRAME="void"
  3937. CLASS="CALSTABLE"
  3938. ><COL><COL><THEAD
  3939. ><TR
  3940. ><TH
  3941. >Directory</TH
  3942. ><TH
  3943. >Description</TH
  3944. ></TR
  3945. ></THEAD
  3946. ><TBODY
  3947. ><TR
  3948. ><TD
  3949. >&lt;package&gt;</TD
  3950. ><TD
  3951. >Static package objects</TD
  3952. ></TR
  3953. ><TR
  3954. ><TD
  3955. >&lt;provider&gt;</TD
  3956. ><TD
  3957. >LANANA registered provider name</TD
  3958. ></TR
  3959. ></TBODY
  3960. ></TABLE
  3961. ><P
  3962. ></P
  3963. ></DIV
  3964. ><P
  3965. >The directories <TT
  3966. CLASS="FILENAME"
  3967. >/opt/bin</TT
  3968. >,
  3969. <TT
  3970. CLASS="FILENAME"
  3971. >/opt/doc</TT
  3972. >, <TT
  3973. CLASS="FILENAME"
  3974. >/opt/include</TT
  3975. >,
  3976. <TT
  3977. CLASS="FILENAME"
  3978. >/opt/info</TT
  3979. >, <TT
  3980. CLASS="FILENAME"
  3981. >/opt/lib</TT
  3982. >, and
  3983. <TT
  3984. CLASS="FILENAME"
  3985. >/opt/man</TT
  3986. > are reserved for local system
  3987. administrator use. Packages may provide "front-end" files intended to
  3988. be placed in (by linking or copying) these reserved directories by the
  3989. local system administrator, but must function normally in the absence
  3990. of these reserved directories.</P
  3991. ><P
  3992. >Programs to be invoked by users must be located in the directory
  3993. <TT
  3994. CLASS="FILENAME"
  3995. >/opt/&lt;package&gt;/bin</TT
  3996. > or under the
  3997. <TT
  3998. CLASS="FILENAME"
  3999. >/opt/&lt;provider&gt;</TT
  4000. > hierarchy. If the package
  4001. includes UNIX manual pages, they must be located in
  4002. <TT
  4003. CLASS="FILENAME"
  4004. >/opt/&lt;package&gt;/share/man</TT
  4005. > or under the
  4006. <TT
  4007. CLASS="FILENAME"
  4008. >/opt/&lt;provider&gt;</TT
  4009. > hierarchy, and the same
  4010. substructure as <TT
  4011. CLASS="FILENAME"
  4012. >/usr/share/man</TT
  4013. > must be
  4014. used.</P
  4015. ><P
  4016. >Package files that are variable (change in normal operation)
  4017. must be installed in <TT
  4018. CLASS="FILENAME"
  4019. >/var/opt</TT
  4020. >. See the section
  4021. on <TT
  4022. CLASS="FILENAME"
  4023. >/var/opt</TT
  4024. > for more information.</P
  4025. ><P
  4026. >Host-specific configuration files must be installed in
  4027. <TT
  4028. CLASS="FILENAME"
  4029. >/etc/opt</TT
  4030. >. See the section on
  4031. <TT
  4032. CLASS="FILENAME"
  4033. >/etc</TT
  4034. > for more information.</P
  4035. ><P
  4036. >No other package files may exist outside the
  4037. <TT
  4038. CLASS="FILENAME"
  4039. >/opt</TT
  4040. >, <TT
  4041. CLASS="FILENAME"
  4042. >/var/opt</TT
  4043. >, and
  4044. <TT
  4045. CLASS="FILENAME"
  4046. >/etc/opt</TT
  4047. > hierarchies except for those package
  4048. files that must reside in specific locations within the filesystem
  4049. tree in order to function properly. For example, device lock files
  4050. must be placed in <TT
  4051. CLASS="FILENAME"
  4052. >/var/lock</TT
  4053. > and devices must be
  4054. located in <TT
  4055. CLASS="FILENAME"
  4056. >/dev</TT
  4057. >.</P
  4058. ><P
  4059. >Distributions may install software in <TT
  4060. CLASS="FILENAME"
  4061. >/opt</TT
  4062. >,
  4063. but must not modify or delete software installed by the local system
  4064. administrator without the assent of the local system
  4065. administrator.</P
  4066. ><DIV
  4067. CLASS="TIP"
  4068. ><P
  4069. ></P
  4070. ><TABLE
  4071. CLASS="TIP"
  4072. WIDTH="100%"
  4073. BORDER="0"
  4074. ><TR
  4075. ><TD
  4076. WIDTH="25"
  4077. ALIGN="CENTER"
  4078. VALIGN="TOP"
  4079. ><IMG
  4080. SRC="tip.gif"
  4081. HSPACE="5"
  4082. ALT="Tip"></TD
  4083. ><TH
  4084. ALIGN="LEFT"
  4085. VALIGN="CENTER"
  4086. ><B
  4087. >Rationale</B
  4088. ></TH
  4089. ></TR
  4090. ><TR
  4091. ><TD
  4092. >&nbsp;</TD
  4093. ><TD
  4094. ALIGN="LEFT"
  4095. VALIGN="TOP"
  4096. ><P
  4097. >The use of <TT
  4098. CLASS="FILENAME"
  4099. >/opt</TT
  4100. > for add-on software is a
  4101. well-established practice in the UNIX community. The System V
  4102. Application Binary Interface [AT&amp;T 1990], based on the System V
  4103. Interface Definition (Third Edition), provides for an
  4104. <TT
  4105. CLASS="FILENAME"
  4106. >/opt</TT
  4107. > structure very similar to the one defined
  4108. here.</P
  4109. ><P
  4110. >The Intel Binary Compatibility Standard v. 2 (iBCS2) also
  4111. provides a similar structure for <TT
  4112. CLASS="FILENAME"
  4113. >/opt</TT
  4114. >.</P
  4115. ><P
  4116. >Generally, all data required to support a package on a system
  4117. must be present within <TT
  4118. CLASS="FILENAME"
  4119. >/opt/&lt;package&gt;</TT
  4120. >,
  4121. including files intended to be copied into
  4122. <TT
  4123. CLASS="FILENAME"
  4124. >/etc/opt/&lt;package&gt;</TT
  4125. > and
  4126. <TT
  4127. CLASS="FILENAME"
  4128. >/var/opt/&lt;package&gt;</TT
  4129. > as well as reserved
  4130. directories in <TT
  4131. CLASS="FILENAME"
  4132. >/opt</TT
  4133. >.</P
  4134. ><P
  4135. >The minor restrictions on distributions using
  4136. <TT
  4137. CLASS="FILENAME"
  4138. >/opt</TT
  4139. > are necessary because conflicts are possible
  4140. between distribution-installed and locally-installed software,
  4141. especially in the case of fixed pathnames found in some binary
  4142. software.</P
  4143. ><P
  4144. >The structure of the directories below
  4145. <TT
  4146. CLASS="FILENAME"
  4147. >/opt/&lt;provider&gt;</TT
  4148. > is left up to the packager
  4149. of the software, though it is recommended that packages are installed
  4150. in <TT
  4151. CLASS="FILENAME"
  4152. >/opt/&lt;provider&gt;/&lt;package&gt;</TT
  4153. > and
  4154. follow a similar structure to the guidelines for
  4155. <TT
  4156. CLASS="FILENAME"
  4157. >/opt/package</TT
  4158. >. A valid reason for diverging from
  4159. this structure is for support packages which may have files installed
  4160. in <TT
  4161. CLASS="FILENAME"
  4162. >/opt/&lt;provider&gt;/lib</TT
  4163. > or
  4164. <TT
  4165. CLASS="FILENAME"
  4166. >/opt/&lt;provider&gt;/bin</TT
  4167. >.</P
  4168. ></TD
  4169. ></TR
  4170. ></TABLE
  4171. ></DIV
  4172. ></DIV
  4173. ></DIV
  4174. ><DIV
  4175. CLASS="SECTION"
  4176. ><HR><H2
  4177. CLASS="SECTION"
  4178. ><A
  4179. NAME="ROOTHOMEDIRECTORYFORTHEROOTUSER"
  4180. >/root : Home directory for the root user (optional)</A
  4181. ></H2
  4182. ><DIV
  4183. CLASS="SECTION"
  4184. ><H3
  4185. CLASS="SECTION"
  4186. ><A
  4187. NAME="PURPOSE15"
  4188. >Purpose</A
  4189. ></H3
  4190. ><P
  4191. >The root account's home directory may be determined by developer
  4192. or local preference, but this is the recommended default
  4193. location.
  4194. <A
  4195. NAME="AEN1037"
  4196. HREF="#FTN.AEN1037"
  4197. ><SPAN
  4198. CLASS="footnote"
  4199. >[17]</SPAN
  4200. ></A
  4201. ></P
  4202. ></DIV
  4203. ></DIV
  4204. ><DIV
  4205. CLASS="SECTION"
  4206. ><HR><H2
  4207. CLASS="SECTION"
  4208. ><A
  4209. NAME="SBINSYSTEMBINARIES"
  4210. >/sbin : System binaries</A
  4211. ></H2
  4212. ><DIV
  4213. CLASS="SECTION"
  4214. ><H3
  4215. CLASS="SECTION"
  4216. ><A
  4217. NAME="PURPOSE16"
  4218. >Purpose</A
  4219. ></H3
  4220. ><P
  4221. >Utilities used for system administration (and other root-only
  4222. commands) are stored in <TT
  4223. CLASS="FILENAME"
  4224. >/sbin</TT
  4225. >,
  4226. <TT
  4227. CLASS="FILENAME"
  4228. >/usr/sbin</TT
  4229. >, and
  4230. <TT
  4231. CLASS="FILENAME"
  4232. >/usr/local/sbin</TT
  4233. >. <TT
  4234. CLASS="FILENAME"
  4235. >/sbin</TT
  4236. >
  4237. contains binaries essential for booting, restoring, recovering, and/or
  4238. repairing the system in addition to the binaries in
  4239. <TT
  4240. CLASS="FILENAME"
  4241. >/bin</TT
  4242. >.
  4243. <A
  4244. NAME="AEN1051"
  4245. HREF="#FTN.AEN1051"
  4246. ><SPAN
  4247. CLASS="footnote"
  4248. >[18]</SPAN
  4249. ></A
  4250. > Programs executed after
  4251. <TT
  4252. CLASS="FILENAME"
  4253. >/usr</TT
  4254. > is known to be mounted (when there are no
  4255. problems) are generally placed into <TT
  4256. CLASS="FILENAME"
  4257. >/usr/sbin</TT
  4258. >.
  4259. Locally-installed system administration programs should be placed into
  4260. <TT
  4261. CLASS="FILENAME"
  4262. >/usr/local/sbin</TT
  4263. >.
  4264. <A
  4265. NAME="AEN1058"
  4266. HREF="#FTN.AEN1058"
  4267. ><SPAN
  4268. CLASS="footnote"
  4269. >[19]</SPAN
  4270. ></A
  4271. ></P
  4272. ></DIV
  4273. ><DIV
  4274. CLASS="SECTION"
  4275. ><HR><H3
  4276. CLASS="SECTION"
  4277. ><A
  4278. NAME="REQUIREMENTS8"
  4279. >Requirements</A
  4280. ></H3
  4281. ><P
  4282. >The following commands, or symbolic links to commands, are
  4283. required in <TT
  4284. CLASS="FILENAME"
  4285. >/sbin</TT
  4286. >.</P
  4287. ><DIV
  4288. CLASS="INFORMALTABLE"
  4289. ><P
  4290. ></P
  4291. ><A
  4292. NAME="AEN1077"
  4293. ></A
  4294. ><TABLE
  4295. BORDER="0"
  4296. FRAME="void"
  4297. CLASS="CALSTABLE"
  4298. ><COL><COL><THEAD
  4299. ><TR
  4300. ><TH
  4301. >Command</TH
  4302. ><TH
  4303. >Description</TH
  4304. ></TR
  4305. ></THEAD
  4306. ><TBODY
  4307. ><TR
  4308. ><TD
  4309. ><B
  4310. CLASS="COMMAND"
  4311. >shutdown</B
  4312. ></TD
  4313. ><TD
  4314. >Command to bring the system down.</TD
  4315. ></TR
  4316. ></TBODY
  4317. ></TABLE
  4318. ><P
  4319. ></P
  4320. ></DIV
  4321. ></DIV
  4322. ><DIV
  4323. CLASS="SECTION"
  4324. ><HR><H3
  4325. CLASS="SECTION"
  4326. ><A
  4327. NAME="SPECIFICOPTIONS8"
  4328. >Specific Options</A
  4329. ></H3
  4330. ><P
  4331. >The following files, or symbolic links to files, must be in
  4332. <TT
  4333. CLASS="FILENAME"
  4334. >/sbin</TT
  4335. > if the corresponding subsystem is
  4336. installed:</P
  4337. ><DIV
  4338. CLASS="INFORMALTABLE"
  4339. ><P
  4340. ></P
  4341. ><A
  4342. NAME="AEN1092"
  4343. ></A
  4344. ><TABLE
  4345. BORDER="0"
  4346. FRAME="void"
  4347. CLASS="CALSTABLE"
  4348. ><COL
  4349. WIDTH="1*"
  4350. TITLE="C1"><COL
  4351. WIDTH="1*"
  4352. TITLE="C2"><THEAD
  4353. ><TR
  4354. ><TH
  4355. >Command</TH
  4356. ><TH
  4357. >Description</TH
  4358. ></TR
  4359. ></THEAD
  4360. ><TBODY
  4361. ><TR
  4362. ><TD
  4363. ><TT
  4364. CLASS="FILENAME"
  4365. >fastboot</TT
  4366. ></TD
  4367. ><TD
  4368. >Reboot the system without checking the disks (optional)</TD
  4369. ></TR
  4370. ><TR
  4371. ><TD
  4372. ><TT
  4373. CLASS="FILENAME"
  4374. >fasthalt</TT
  4375. ></TD
  4376. ><TD
  4377. >Stop the system without checking the disks (optional)</TD
  4378. ></TR
  4379. ><TR
  4380. ><TD
  4381. ><TT
  4382. CLASS="FILENAME"
  4383. >fdisk</TT
  4384. ></TD
  4385. ><TD
  4386. >Partition table manipulator (optional)</TD
  4387. ></TR
  4388. ><TR
  4389. ><TD
  4390. ><TT
  4391. CLASS="FILENAME"
  4392. >fsck</TT
  4393. ></TD
  4394. ><TD
  4395. >File system check and repair utility (optional)</TD
  4396. ></TR
  4397. ><TR
  4398. ><TD
  4399. ><TT
  4400. CLASS="FILENAME"
  4401. >fsck.*</TT
  4402. ></TD
  4403. ><TD
  4404. >File system check and repair utility for a specific filesystem (optional)</TD
  4405. ></TR
  4406. ><TR
  4407. ><TD
  4408. ><TT
  4409. CLASS="FILENAME"
  4410. >getty</TT
  4411. ></TD
  4412. ><TD
  4413. >The getty program (optional)</TD
  4414. ></TR
  4415. ><TR
  4416. ><TD
  4417. ><TT
  4418. CLASS="FILENAME"
  4419. >halt</TT
  4420. ></TD
  4421. ><TD
  4422. >Command to stop the system (optional)</TD
  4423. ></TR
  4424. ><TR
  4425. ><TD
  4426. ><TT
  4427. CLASS="FILENAME"
  4428. >ifconfig</TT
  4429. ></TD
  4430. ><TD
  4431. >Configure a network interface (optional)</TD
  4432. ></TR
  4433. ><TR
  4434. ><TD
  4435. ><TT
  4436. CLASS="FILENAME"
  4437. >init</TT
  4438. ></TD
  4439. ><TD
  4440. >Initial process (optional)</TD
  4441. ></TR
  4442. ><TR
  4443. ><TD
  4444. ><TT
  4445. CLASS="FILENAME"
  4446. >mkfs</TT
  4447. ></TD
  4448. ><TD
  4449. >Command to build a filesystem (optional)</TD
  4450. ></TR
  4451. ><TR
  4452. ><TD
  4453. ><TT
  4454. CLASS="FILENAME"
  4455. >mkfs.*</TT
  4456. ></TD
  4457. ><TD
  4458. >Command to build a specific filesystem (optional)</TD
  4459. ></TR
  4460. ><TR
  4461. ><TD
  4462. ><TT
  4463. CLASS="FILENAME"
  4464. >mkswap</TT
  4465. ></TD
  4466. ><TD
  4467. >Command to set up a swap area (optional)</TD
  4468. ></TR
  4469. ><TR
  4470. ><TD
  4471. ><TT
  4472. CLASS="FILENAME"
  4473. >reboot</TT
  4474. ></TD
  4475. ><TD
  4476. >Command to reboot the system (optional)</TD
  4477. ></TR
  4478. ><TR
  4479. ><TD
  4480. ><TT
  4481. CLASS="FILENAME"
  4482. >route</TT
  4483. ></TD
  4484. ><TD
  4485. >IP routing table utility (optional)</TD
  4486. ></TR
  4487. ><TR
  4488. ><TD
  4489. ><TT
  4490. CLASS="FILENAME"
  4491. >swapon</TT
  4492. ></TD
  4493. ><TD
  4494. >Enable paging and swapping (optional)</TD
  4495. ></TR
  4496. ><TR
  4497. ><TD
  4498. ><TT
  4499. CLASS="FILENAME"
  4500. >swapoff</TT
  4501. ></TD
  4502. ><TD
  4503. >Disable paging and swapping (optional)</TD
  4504. ></TR
  4505. ><TR
  4506. ><TD
  4507. ><TT
  4508. CLASS="FILENAME"
  4509. >update</TT
  4510. ></TD
  4511. ><TD
  4512. >Daemon to periodically flush filesystem buffers (optional)</TD
  4513. ></TR
  4514. ></TBODY
  4515. ></TABLE
  4516. ><P
  4517. ></P
  4518. ></DIV
  4519. ></DIV
  4520. ></DIV
  4521. ><DIV
  4522. CLASS="SECTION"
  4523. ><HR><H2
  4524. CLASS="SECTION"
  4525. ><A
  4526. NAME="SRVDATAFORSERVICESPROVIDEDBYSYSTEM"
  4527. >/srv : Data for services provided by this system</A
  4528. ></H2
  4529. ><DIV
  4530. CLASS="SECTION"
  4531. ><H3
  4532. CLASS="SECTION"
  4533. ><A
  4534. NAME="PURPOSE16A"
  4535. >Purpose</A
  4536. ></H3
  4537. ><P
  4538. ><TT
  4539. CLASS="FILENAME"
  4540. >/srv</TT
  4541. > contains site-specific data which is
  4542. served by this system.
  4543. <DIV
  4544. CLASS="TIP"
  4545. ><P
  4546. ></P
  4547. ><TABLE
  4548. CLASS="TIP"
  4549. WIDTH="100%"
  4550. BORDER="0"
  4551. ><TR
  4552. ><TD
  4553. WIDTH="25"
  4554. ALIGN="CENTER"
  4555. VALIGN="TOP"
  4556. ><IMG
  4557. SRC="tip.gif"
  4558. HSPACE="5"
  4559. ALT="Tip"></TD
  4560. ><TH
  4561. ALIGN="LEFT"
  4562. VALIGN="CENTER"
  4563. ><B
  4564. >Rationale</B
  4565. ></TH
  4566. ></TR
  4567. ><TR
  4568. ><TD
  4569. >&nbsp;</TD
  4570. ><TD
  4571. ALIGN="LEFT"
  4572. VALIGN="TOP"
  4573. ><P
  4574. >This main purpose of specifying this is so that users may find the
  4575. location of the data files for particular service, and so that
  4576. services which require a single tree for readonly data, writable data
  4577. and scripts (such as cgi scripts) can be reasonably placed. Data that
  4578. is only of interest to a specific user should go in that users' home
  4579. directory.</P
  4580. ><P
  4581. >The methodology used to name subdirectories of
  4582. <TT
  4583. CLASS="FILENAME"
  4584. >/srv</TT
  4585. > is unspecified as there is currently no
  4586. consensus on how this should be done. One method for structuring data
  4587. under <TT
  4588. CLASS="FILENAME"
  4589. >/srv</TT
  4590. > is by protocol,
  4591. eg. <TT
  4592. CLASS="FILENAME"
  4593. >ftp</TT
  4594. >, <TT
  4595. CLASS="FILENAME"
  4596. >rsync</TT
  4597. >,
  4598. <TT
  4599. CLASS="FILENAME"
  4600. >www</TT
  4601. >, and <TT
  4602. CLASS="FILENAME"
  4603. >cvs</TT
  4604. >. On large
  4605. systems it can be useful to structure <TT
  4606. CLASS="FILENAME"
  4607. >/srv</TT
  4608. > by
  4609. administrative context, such as <TT
  4610. CLASS="FILENAME"
  4611. >/srv/physics/www</TT
  4612. >,
  4613. <TT
  4614. CLASS="FILENAME"
  4615. >/srv/compsci/cvs</TT
  4616. >, etc. This setup will differ
  4617. from host to host. Therefore, no program should rely on a specific
  4618. subdirectory structure of <TT
  4619. CLASS="FILENAME"
  4620. >/srv</TT
  4621. > existing or data
  4622. necessarily being stored in <TT
  4623. CLASS="FILENAME"
  4624. >/srv</TT
  4625. >. However
  4626. <TT
  4627. CLASS="FILENAME"
  4628. >/srv</TT
  4629. > should always exist on FHS compliant systems
  4630. and should be used as the default location for such data.</P
  4631. ><P
  4632. >Distributions must take care not to remove locally placed files in
  4633. these directories without administrator permission.
  4634. <A
  4635. NAME="AEN1192"
  4636. HREF="#FTN.AEN1192"
  4637. ><SPAN
  4638. CLASS="footnote"
  4639. >[20]</SPAN
  4640. ></A
  4641. ></P
  4642. ></TD
  4643. ></TR
  4644. ></TABLE
  4645. ></DIV
  4646. >&#13;</P
  4647. ></DIV
  4648. ></DIV
  4649. ><DIV
  4650. CLASS="SECTION"
  4651. ><HR><H2
  4652. CLASS="SECTION"
  4653. ><A
  4654. NAME="TMPTEMPORARYFILES"
  4655. >/tmp : Temporary files</A
  4656. ></H2
  4657. ><DIV
  4658. CLASS="SECTION"
  4659. ><H3
  4660. CLASS="SECTION"
  4661. ><A
  4662. NAME="PURPOSE17"
  4663. >Purpose</A
  4664. ></H3
  4665. ><P
  4666. >The <TT
  4667. CLASS="FILENAME"
  4668. >/tmp</TT
  4669. > directory must be made available
  4670. for programs that require temporary files.</P
  4671. ><P
  4672. >Programs must not assume that any files or directories in
  4673. <TT
  4674. CLASS="FILENAME"
  4675. >/tmp</TT
  4676. > are preserved between invocations of the
  4677. program.</P
  4678. ><DIV
  4679. CLASS="TIP"
  4680. ><P
  4681. ></P
  4682. ><TABLE
  4683. CLASS="TIP"
  4684. WIDTH="100%"
  4685. BORDER="0"
  4686. ><TR
  4687. ><TD
  4688. WIDTH="25"
  4689. ALIGN="CENTER"
  4690. VALIGN="TOP"
  4691. ><IMG
  4692. SRC="tip.gif"
  4693. HSPACE="5"
  4694. ALT="Tip"></TD
  4695. ><TH
  4696. ALIGN="LEFT"
  4697. VALIGN="CENTER"
  4698. ><B
  4699. >Rationale</B
  4700. ></TH
  4701. ></TR
  4702. ><TR
  4703. ><TD
  4704. >&nbsp;</TD
  4705. ><TD
  4706. ALIGN="LEFT"
  4707. VALIGN="TOP"
  4708. ><P
  4709. >IEEE standard P1003.2 (POSIX, part 2) makes requirements that
  4710. are similar to the above section.</P
  4711. ><P
  4712. >Although data stored in <TT
  4713. CLASS="FILENAME"
  4714. >/tmp</TT
  4715. > may be deleted
  4716. in a site-specific manner, it is recommended that files and
  4717. directories located in <TT
  4718. CLASS="FILENAME"
  4719. >/tmp</TT
  4720. > be deleted whenever
  4721. the system is booted.</P
  4722. ><P
  4723. >FHS added this recommendation on the basis of historical
  4724. precedent and common practice, but did not make it a requirement
  4725. because system administration is not within the scope of this
  4726. standard.&#13;</P
  4727. ></TD
  4728. ></TR
  4729. ></TABLE
  4730. ></DIV
  4731. ></DIV
  4732. ></DIV
  4733. ></DIV
  4734. ><DIV
  4735. CLASS="CHAPTER"
  4736. ><HR><H1
  4737. ><A
  4738. NAME="THEUSRHIERARCHY"
  4739. ></A
  4740. >Chapter 4. The /usr Hierarchy</H1
  4741. ><DIV
  4742. CLASS="SECTION"
  4743. ><H2
  4744. CLASS="SECTION"
  4745. ><A
  4746. NAME="PURPOSE18"
  4747. >Purpose</A
  4748. ></H2
  4749. ><P
  4750. ><TT
  4751. CLASS="FILENAME"
  4752. >/usr</TT
  4753. > is the second major section of the
  4754. filesystem. <TT
  4755. CLASS="FILENAME"
  4756. >/usr</TT
  4757. > is shareable, read-only data.
  4758. That means that <TT
  4759. CLASS="FILENAME"
  4760. >/usr</TT
  4761. > should be shareable between
  4762. various FHS-compliant hosts and must not be written to. Any
  4763. information that is host-specific or varies with time is stored
  4764. elsewhere.</P
  4765. ><P
  4766. >Large software packages must not use a direct subdirectory under
  4767. the <TT
  4768. CLASS="FILENAME"
  4769. >/usr</TT
  4770. > hierarchy.</P
  4771. ></DIV
  4772. ><DIV
  4773. CLASS="SECTION"
  4774. ><HR><H2
  4775. CLASS="SECTION"
  4776. ><A
  4777. NAME="REQUIREMENTS9"
  4778. >Requirements</A
  4779. ></H2
  4780. ><P
  4781. >The following directories, or symbolic links to directories, are
  4782. required in <TT
  4783. CLASS="FILENAME"
  4784. >/usr</TT
  4785. >.</P
  4786. ><DIV
  4787. CLASS="INFORMALTABLE"
  4788. ><P
  4789. ></P
  4790. ><A
  4791. NAME="AEN1223"
  4792. ></A
  4793. ><TABLE
  4794. BORDER="0"
  4795. FRAME="void"
  4796. CLASS="CALSTABLE"
  4797. ><COL><COL><THEAD
  4798. ><TR
  4799. ><TH
  4800. >Directory</TH
  4801. ><TH
  4802. >Description</TH
  4803. ></TR
  4804. ></THEAD
  4805. ><TBODY
  4806. ><TR
  4807. ><TD
  4808. ><TT
  4809. CLASS="FILENAME"
  4810. >bin</TT
  4811. ></TD
  4812. ><TD
  4813. >Most user commands</TD
  4814. ></TR
  4815. ><TR
  4816. ><TD
  4817. ><TT
  4818. CLASS="FILENAME"
  4819. >include</TT
  4820. ></TD
  4821. ><TD
  4822. >Header files included by C programs</TD
  4823. ></TR
  4824. ><TR
  4825. ><TD
  4826. ><TT
  4827. CLASS="FILENAME"
  4828. >lib</TT
  4829. ></TD
  4830. ><TD
  4831. >Libraries</TD
  4832. ></TR
  4833. ><TR
  4834. ><TD
  4835. ><TT
  4836. CLASS="FILENAME"
  4837. >local</TT
  4838. ></TD
  4839. ><TD
  4840. >Local hierarchy (empty after main installation)</TD
  4841. ></TR
  4842. ><TR
  4843. ><TD
  4844. ><TT
  4845. CLASS="FILENAME"
  4846. >sbin</TT
  4847. ></TD
  4848. ><TD
  4849. >Non-vital system binaries</TD
  4850. ></TR
  4851. ><TR
  4852. ><TD
  4853. ><TT
  4854. CLASS="FILENAME"
  4855. >share</TT
  4856. ></TD
  4857. ><TD
  4858. >Architecture-independent data</TD
  4859. ></TR
  4860. ></TBODY
  4861. ></TABLE
  4862. ><P
  4863. ></P
  4864. ></DIV
  4865. ></DIV
  4866. ><DIV
  4867. CLASS="SECTION"
  4868. ><HR><H2
  4869. CLASS="SECTION"
  4870. ><A
  4871. NAME="SPECIFICOPTIONS9"
  4872. >Specific Options</A
  4873. ></H2
  4874. ><DIV
  4875. CLASS="INFORMALTABLE"
  4876. ><P
  4877. ></P
  4878. ><A
  4879. NAME="AEN1256"
  4880. ></A
  4881. ><TABLE
  4882. BORDER="0"
  4883. FRAME="void"
  4884. CLASS="CALSTABLE"
  4885. ><COL><COL><THEAD
  4886. ><TR
  4887. ><TH
  4888. >Directory</TH
  4889. ><TH
  4890. >Description</TH
  4891. ></TR
  4892. ></THEAD
  4893. ><TBODY
  4894. ><TR
  4895. ><TD
  4896. ><TT
  4897. CLASS="FILENAME"
  4898. >X11R6</TT
  4899. ></TD
  4900. ><TD
  4901. >XWindow System, version 11 release 6 (optional)</TD
  4902. ></TR
  4903. ><TR
  4904. ><TD
  4905. ><TT
  4906. CLASS="FILENAME"
  4907. >games</TT
  4908. ></TD
  4909. ><TD
  4910. >Games and educational binaries (optional)</TD
  4911. ></TR
  4912. ><TR
  4913. ><TD
  4914. ><TT
  4915. CLASS="FILENAME"
  4916. >lib&lt;qual&gt;</TT
  4917. ></TD
  4918. ><TD
  4919. >Alternate Format Libraries (optional)</TD
  4920. ></TR
  4921. ><TR
  4922. ><TD
  4923. ><TT
  4924. CLASS="FILENAME"
  4925. >src</TT
  4926. ></TD
  4927. ><TD
  4928. >Source code (optional)</TD
  4929. ></TR
  4930. ></TBODY
  4931. ></TABLE
  4932. ><P
  4933. ></P
  4934. ></DIV
  4935. ><P
  4936. >An exception is made for the X Window System because of
  4937. considerable precedent and widely-accepted practice.</P
  4938. ><P
  4939. >The following symbolic links to directories may be present. This
  4940. possibility is based on the need to preserve compatibility with older
  4941. systems until all implementations can be assumed to use the
  4942. <TT
  4943. CLASS="FILENAME"
  4944. >/var</TT
  4945. > hierarchy.</P
  4946. ><TABLE
  4947. BORDER="0"
  4948. BGCOLOR="#E0E0E0"
  4949. WIDTH="100%"
  4950. ><TR
  4951. ><TD
  4952. ><PRE
  4953. CLASS="SCREEN"
  4954. > /usr/spool -&gt; /var/spool
  4955. /usr/tmp -&gt; /var/tmp
  4956. /usr/spool/locks -&gt; /var/lock</PRE
  4957. ></TD
  4958. ></TR
  4959. ></TABLE
  4960. ><P
  4961. >Once a system no longer requires any one of the above symbolic links,
  4962. the link may be removed, if desired.</P
  4963. ></DIV
  4964. ><DIV
  4965. CLASS="SECTION"
  4966. ><HR><H2
  4967. CLASS="SECTION"
  4968. ><A
  4969. NAME="USRX11R6XWINDOWSYSTEMVERSION11REL"
  4970. >/usr/X11R6 : X Window System, Version 11 Release 6 (optional)</A
  4971. ></H2
  4972. ><DIV
  4973. CLASS="SECTION"
  4974. ><H3
  4975. CLASS="SECTION"
  4976. ><A
  4977. NAME="PURPOSE19"
  4978. >Purpose</A
  4979. ></H3
  4980. ><P
  4981. >This hierarchy is reserved for the X Window System, version 11
  4982. release 6, and related files.</P
  4983. ><P
  4984. >To simplify matters and make XFree86 more compatible with the X
  4985. Window System on other systems, the following symbolic links must be
  4986. present if <TT
  4987. CLASS="FILENAME"
  4988. >/usr/X11R6</TT
  4989. > exists:</P
  4990. ><TABLE
  4991. BORDER="0"
  4992. BGCOLOR="#E0E0E0"
  4993. WIDTH="100%"
  4994. ><TR
  4995. ><TD
  4996. ><PRE
  4997. CLASS="SCREEN"
  4998. > /usr/bin/X11 -&gt; /usr/X11R6/bin
  4999. /usr/lib/X11 -&gt; /usr/X11R6/lib/X11
  5000. /usr/include/X11 -&gt; /usr/X11R6/include/X11</PRE
  5001. ></TD
  5002. ></TR
  5003. ></TABLE
  5004. ><P
  5005. >In general, software must not be installed or managed via the above
  5006. symbolic links. They are intended for utilization by users only. The
  5007. difficulty is related to the release version of the X Window System &mdash;
  5008. in transitional periods, it is impossible to know what release of X11 is
  5009. in use.</P
  5010. ></DIV
  5011. ><DIV
  5012. CLASS="SECTION"
  5013. ><HR><H3
  5014. CLASS="SECTION"
  5015. ><A
  5016. NAME="SPECIFICOPTIONS10"
  5017. >Specific Options</A
  5018. ></H3
  5019. ><P
  5020. >Host-specific data in <TT
  5021. CLASS="FILENAME"
  5022. >/usr/X11R6/lib/X11</TT
  5023. > should be interpreted
  5024. as a demonstration file. Applications requiring information about the
  5025. current host must reference a configuration file in <TT
  5026. CLASS="FILENAME"
  5027. >/etc/X11</TT
  5028. >,
  5029. which may be linked to a file in <TT
  5030. CLASS="FILENAME"
  5031. >/usr/X11R6/lib</TT
  5032. >.
  5033. <A
  5034. NAME="AEN1299"
  5035. HREF="#FTN.AEN1299"
  5036. ><SPAN
  5037. CLASS="footnote"
  5038. >[21]</SPAN
  5039. ></A
  5040. ></P
  5041. ></DIV
  5042. ></DIV
  5043. ><DIV
  5044. CLASS="SECTION"
  5045. ><HR><H2
  5046. CLASS="SECTION"
  5047. ><A
  5048. NAME="USRBINMOSTUSERCOMMANDS"
  5049. >/usr/bin : Most user commands</A
  5050. ></H2
  5051. ><DIV
  5052. CLASS="SECTION"
  5053. ><H3
  5054. CLASS="SECTION"
  5055. ><A
  5056. NAME="PURPOSE20"
  5057. >Purpose</A
  5058. ></H3
  5059. ><P
  5060. >This is the primary directory of executable commands on the
  5061. system.</P
  5062. ></DIV
  5063. ><DIV
  5064. CLASS="SECTION"
  5065. ><HR><H3
  5066. CLASS="SECTION"
  5067. ><A
  5068. NAME="SPECIFICOPTIONS11"
  5069. >Specific Options</A
  5070. ></H3
  5071. ><P
  5072. >The following directories, or symbolic links to directories,
  5073. must be in <TT
  5074. CLASS="FILENAME"
  5075. >/usr/bin</TT
  5076. >, if the corresponding
  5077. subsystem is installed:</P
  5078. ><DIV
  5079. CLASS="INFORMALTABLE"
  5080. ><P
  5081. ></P
  5082. ><A
  5083. NAME="AEN1313"
  5084. ></A
  5085. ><TABLE
  5086. BORDER="0"
  5087. FRAME="void"
  5088. CLASS="CALSTABLE"
  5089. ><COL><COL><THEAD
  5090. ><TR
  5091. ><TH
  5092. >Directory</TH
  5093. ><TH
  5094. >Description</TH
  5095. ></TR
  5096. ></THEAD
  5097. ><TBODY
  5098. ><TR
  5099. ><TD
  5100. ><TT
  5101. CLASS="FILENAME"
  5102. >mh</TT
  5103. ></TD
  5104. ><TD
  5105. >Commands for the MH mail handling system (optional)</TD
  5106. ></TR
  5107. ></TBODY
  5108. ></TABLE
  5109. ><P
  5110. ></P
  5111. ></DIV
  5112. ><P
  5113. ><TT
  5114. CLASS="FILENAME"
  5115. >/usr/bin/X11</TT
  5116. > must be a symlink to
  5117. <TT
  5118. CLASS="FILENAME"
  5119. >/usr/X11R6/bin</TT
  5120. > if the latter exists.</P
  5121. ><P
  5122. >The following files, or symbolic links to files, must be in
  5123. <TT
  5124. CLASS="FILENAME"
  5125. >/usr/bin</TT
  5126. >, if the corresponding subsystem is
  5127. installed:</P
  5128. ><DIV
  5129. CLASS="INFORMALTABLE"
  5130. ><P
  5131. ></P
  5132. ><A
  5133. NAME="AEN1329"
  5134. ></A
  5135. ><TABLE
  5136. BORDER="0"
  5137. FRAME="void"
  5138. CLASS="CALSTABLE"
  5139. ><COL><COL><THEAD
  5140. ><TR
  5141. ><TH
  5142. >Command</TH
  5143. ><TH
  5144. >Description</TH
  5145. ></TR
  5146. ></THEAD
  5147. ><TBODY
  5148. ><TR
  5149. ><TD
  5150. ><B
  5151. CLASS="COMMAND"
  5152. >perl</B
  5153. ></TD
  5154. ><TD
  5155. >The Practical Extraction and Report Language (optional)</TD
  5156. ></TR
  5157. ><TR
  5158. ><TD
  5159. ><B
  5160. CLASS="COMMAND"
  5161. >python</B
  5162. ></TD
  5163. ><TD
  5164. >The Python interpreted language (optional)</TD
  5165. ></TR
  5166. ><TR
  5167. ><TD
  5168. ><B
  5169. CLASS="COMMAND"
  5170. >tclsh</B
  5171. ></TD
  5172. ><TD
  5173. >Simple shell containing Tcl interpreter (optional)</TD
  5174. ></TR
  5175. ><TR
  5176. ><TD
  5177. ><B
  5178. CLASS="COMMAND"
  5179. >wish</B
  5180. ></TD
  5181. ><TD
  5182. >Simple Tcl/Tk windowing shell (optional)</TD
  5183. ></TR
  5184. ><TR
  5185. ><TD
  5186. ><B
  5187. CLASS="COMMAND"
  5188. >expect</B
  5189. ></TD
  5190. ><TD
  5191. >Program for interactive dialog (optional)</TD
  5192. ></TR
  5193. ></TBODY
  5194. ></TABLE
  5195. ><P
  5196. ></P
  5197. ></DIV
  5198. ><DIV
  5199. CLASS="TIP"
  5200. ><P
  5201. ></P
  5202. ><TABLE
  5203. CLASS="TIP"
  5204. WIDTH="100%"
  5205. BORDER="0"
  5206. ><TR
  5207. ><TD
  5208. WIDTH="25"
  5209. ALIGN="CENTER"
  5210. VALIGN="TOP"
  5211. ><IMG
  5212. SRC="tip.gif"
  5213. HSPACE="5"
  5214. ALT="Tip"></TD
  5215. ><TH
  5216. ALIGN="LEFT"
  5217. VALIGN="CENTER"
  5218. ><B
  5219. >Rationale</B
  5220. ></TH
  5221. ></TR
  5222. ><TR
  5223. ><TD
  5224. >&nbsp;</TD
  5225. ><TD
  5226. ALIGN="LEFT"
  5227. VALIGN="TOP"
  5228. ><P
  5229. >Because shell script interpreters (invoked with
  5230. <TT
  5231. CLASS="FILENAME"
  5232. >#!&lt;path&gt;</TT
  5233. > on the first line of a shell
  5234. script) cannot rely on a path, it is advantageous to standardize their
  5235. locations. The Bourne shell and C-shell interpreters are already
  5236. fixed in <TT
  5237. CLASS="FILENAME"
  5238. >/bin</TT
  5239. >, but Perl, Python, and Tcl are
  5240. often found in many different places. They may be symlinks to the
  5241. physical location of the shell interpreters.&#13;</P
  5242. ></TD
  5243. ></TR
  5244. ></TABLE
  5245. ></DIV
  5246. ></DIV
  5247. ></DIV
  5248. ><DIV
  5249. CLASS="SECTION"
  5250. ><HR><H2
  5251. CLASS="SECTION"
  5252. ><A
  5253. NAME="USRINCLUDEDIRECTORYFORSTANDARDINCLU"
  5254. >/usr/include : Directory for standard include files.</A
  5255. ></H2
  5256. ><DIV
  5257. CLASS="SECTION"
  5258. ><H3
  5259. CLASS="SECTION"
  5260. ><A
  5261. NAME="PURPOSE21"
  5262. >Purpose</A
  5263. ></H3
  5264. ><P
  5265. >This is where all of the system's general-use include files for the C
  5266. programming language should be placed.</P
  5267. ></DIV
  5268. ><DIV
  5269. CLASS="SECTION"
  5270. ><HR><H3
  5271. CLASS="SECTION"
  5272. ><A
  5273. NAME="SPECIFICOPTIONS12"
  5274. >Specific Options</A
  5275. ></H3
  5276. ><P
  5277. >The following directories, or symbolic links to directories,
  5278. must be in <TT
  5279. CLASS="FILENAME"
  5280. >/usr/include</TT
  5281. >, if the corresponding
  5282. subsystem is installed:</P
  5283. ><DIV
  5284. CLASS="INFORMALTABLE"
  5285. ><P
  5286. ></P
  5287. ><A
  5288. NAME="AEN1370"
  5289. ></A
  5290. ><TABLE
  5291. BORDER="0"
  5292. FRAME="void"
  5293. CLASS="CALSTABLE"
  5294. ><COL><COL><THEAD
  5295. ><TR
  5296. ><TH
  5297. >Directory</TH
  5298. ><TH
  5299. >Description</TH
  5300. ></TR
  5301. ></THEAD
  5302. ><TBODY
  5303. ><TR
  5304. ><TD
  5305. >bsd</TD
  5306. ><TD
  5307. >BSD compatibility include files (optional)</TD
  5308. ></TR
  5309. ></TBODY
  5310. ></TABLE
  5311. ><P
  5312. ></P
  5313. ></DIV
  5314. ><P
  5315. >The symbolic link <TT
  5316. CLASS="FILENAME"
  5317. >/usr/include/X11</TT
  5318. > must
  5319. link to <TT
  5320. CLASS="FILENAME"
  5321. >/usr/X11R6/include/X11</TT
  5322. > if the latter
  5323. exists.</P
  5324. ></DIV
  5325. ></DIV
  5326. ><DIV
  5327. CLASS="SECTION"
  5328. ><HR><H2
  5329. CLASS="SECTION"
  5330. ><A
  5331. NAME="USRLIBLIBRARIESFORPROGRAMMINGANDPA"
  5332. >/usr/lib : Libraries for programming and packages</A
  5333. ></H2
  5334. ><DIV
  5335. CLASS="SECTION"
  5336. ><H3
  5337. CLASS="SECTION"
  5338. ><A
  5339. NAME="PURPOSE22"
  5340. >Purpose</A
  5341. ></H3
  5342. ><P
  5343. ><TT
  5344. CLASS="FILENAME"
  5345. >/usr/lib</TT
  5346. > includes object files, libraries,
  5347. and internal binaries that are not intended to be executed directly by
  5348. users or shell scripts.
  5349. <A
  5350. NAME="AEN1389"
  5351. HREF="#FTN.AEN1389"
  5352. ><SPAN
  5353. CLASS="footnote"
  5354. >[22]</SPAN
  5355. ></A
  5356. ></P
  5357. ><P
  5358. >Applications may use a single subdirectory under
  5359. <TT
  5360. CLASS="FILENAME"
  5361. >/usr/lib</TT
  5362. >. If an application uses a subdirectory,
  5363. all architecture-dependent data exclusively used by the application
  5364. must be placed within that subdirectory.
  5365. <A
  5366. NAME="AEN1394"
  5367. HREF="#FTN.AEN1394"
  5368. ><SPAN
  5369. CLASS="footnote"
  5370. >[23]</SPAN
  5371. ></A
  5372. ></P
  5373. ></DIV
  5374. ><DIV
  5375. CLASS="SECTION"
  5376. ><HR><H3
  5377. CLASS="SECTION"
  5378. ><A
  5379. NAME="SPECIFICOPTIONS13"
  5380. >Specific Options</A
  5381. ></H3
  5382. ><P
  5383. >For historical reasons, <B
  5384. CLASS="COMMAND"
  5385. >/usr/lib/sendmail</B
  5386. >
  5387. must be a symbolic link to <B
  5388. CLASS="COMMAND"
  5389. >/usr/sbin/sendmail</B
  5390. > if
  5391. the latter exists.
  5392. <A
  5393. NAME="AEN1402"
  5394. HREF="#FTN.AEN1402"
  5395. ><SPAN
  5396. CLASS="footnote"
  5397. >[24]</SPAN
  5398. ></A
  5399. ></P
  5400. ><P
  5401. >If <TT
  5402. CLASS="FILENAME"
  5403. >/lib/X11</TT
  5404. > exists,
  5405. <TT
  5406. CLASS="FILENAME"
  5407. >/usr/lib/X11</TT
  5408. > must be a symbolic link to
  5409. <TT
  5410. CLASS="FILENAME"
  5411. >/lib/X11</TT
  5412. >, or to whatever
  5413. <TT
  5414. CLASS="FILENAME"
  5415. >/lib/X11</TT
  5416. > is a symbolic link to.
  5417. <A
  5418. NAME="AEN1418"
  5419. HREF="#FTN.AEN1418"
  5420. ><SPAN
  5421. CLASS="footnote"
  5422. >[25]</SPAN
  5423. ></A
  5424. ></P
  5425. ></DIV
  5426. ></DIV
  5427. ><DIV
  5428. CLASS="SECTION"
  5429. ><HR><H2
  5430. CLASS="SECTION"
  5431. ><A
  5432. NAME="USRLIBLTQUALGTALTERNATEFORMATLIBRARI"
  5433. >/usr/lib&lt;qual&gt; : Alternate format libraries (optional)</A
  5434. ></H2
  5435. ><DIV
  5436. CLASS="SECTION"
  5437. ><H3
  5438. CLASS="SECTION"
  5439. ><A
  5440. NAME="PURPOSE23"
  5441. >Purpose</A
  5442. ></H3
  5443. ><P
  5444. ><TT
  5445. CLASS="FILENAME"
  5446. >/usr/lib&lt;qual&gt;</TT
  5447. > performs the same role as <TT
  5448. CLASS="FILENAME"
  5449. >/usr/lib</TT
  5450. > for an
  5451. alternate binary format, except that the symbolic links
  5452. <TT
  5453. CLASS="FILENAME"
  5454. >/usr/lib&lt;qual&gt;/sendmail</TT
  5455. > and <TT
  5456. CLASS="FILENAME"
  5457. >/usr/lib&lt;qual&gt;/X11</TT
  5458. > are not required.
  5459. <A
  5460. NAME="AEN1435"
  5461. HREF="#FTN.AEN1435"
  5462. ><SPAN
  5463. CLASS="footnote"
  5464. >[26]</SPAN
  5465. ></A
  5466. ></P
  5467. ></DIV
  5468. ><DIV
  5469. CLASS="SECTION"
  5470. ><HR><H3
  5471. CLASS="SECTION"
  5472. ><A
  5473. NAME="USRLOCALLOCALHIERARCHY"
  5474. >/usr/local : Local hierarchy</A
  5475. ></H3
  5476. ><DIV
  5477. CLASS="SECTION"
  5478. ><H4
  5479. CLASS="SECTION"
  5480. ><A
  5481. NAME="PURPOSE24"
  5482. >Purpose</A
  5483. ></H4
  5484. ><P
  5485. >The <TT
  5486. CLASS="FILENAME"
  5487. >/usr/local</TT
  5488. > hierarchy is for use by the
  5489. system administrator when installing software locally. It needs to be
  5490. safe from being overwritten when the system software is updated. It
  5491. may be used for programs and data that are shareable amongst a group
  5492. of hosts, but not found in <TT
  5493. CLASS="FILENAME"
  5494. >/usr</TT
  5495. >.</P
  5496. ><P
  5497. >Locally installed software must be placed within
  5498. <TT
  5499. CLASS="FILENAME"
  5500. >/usr/local</TT
  5501. > rather than <TT
  5502. CLASS="FILENAME"
  5503. >/usr</TT
  5504. >
  5505. unless it is being installed to replace or upgrade software in
  5506. <TT
  5507. CLASS="FILENAME"
  5508. >/usr</TT
  5509. >.
  5510. <A
  5511. NAME="AEN1450"
  5512. HREF="#FTN.AEN1450"
  5513. ><SPAN
  5514. CLASS="footnote"
  5515. >[27]</SPAN
  5516. ></A
  5517. ></P
  5518. ></DIV
  5519. ><DIV
  5520. CLASS="SECTION"
  5521. ><HR><H4
  5522. CLASS="SECTION"
  5523. ><A
  5524. NAME="REQUIREMENTS10"
  5525. >Requirements</A
  5526. ></H4
  5527. ><P
  5528. >The following directories, or symbolic links to directories,
  5529. must be in <TT
  5530. CLASS="FILENAME"
  5531. >/usr/local</TT
  5532. ></P
  5533. ><DIV
  5534. CLASS="INFORMALTABLE"
  5535. ><P
  5536. ></P
  5537. ><A
  5538. NAME="AEN1460"
  5539. ></A
  5540. ><TABLE
  5541. BORDER="0"
  5542. FRAME="void"
  5543. CLASS="CALSTABLE"
  5544. ><COL><COL><THEAD
  5545. ><TR
  5546. ><TH
  5547. >Directory</TH
  5548. ><TH
  5549. >Description</TH
  5550. ></TR
  5551. ></THEAD
  5552. ><TBODY
  5553. ><TR
  5554. ><TD
  5555. ><TT
  5556. CLASS="FILENAME"
  5557. >bin</TT
  5558. ></TD
  5559. ><TD
  5560. >Local binaries</TD
  5561. ></TR
  5562. ><TR
  5563. ><TD
  5564. ><TT
  5565. CLASS="FILENAME"
  5566. >etc</TT
  5567. ></TD
  5568. ><TD
  5569. >Host-specific system configuration for local binaries</TD
  5570. ></TR
  5571. ><TR
  5572. ><TD
  5573. ><TT
  5574. CLASS="FILENAME"
  5575. >games</TT
  5576. ></TD
  5577. ><TD
  5578. >Local game binaries</TD
  5579. ></TR
  5580. ><TR
  5581. ><TD
  5582. ><TT
  5583. CLASS="FILENAME"
  5584. >include</TT
  5585. ></TD
  5586. ><TD
  5587. >Local C header files</TD
  5588. ></TR
  5589. ><TR
  5590. ><TD
  5591. ><TT
  5592. CLASS="FILENAME"
  5593. >lib</TT
  5594. ></TD
  5595. ><TD
  5596. >Local libraries</TD
  5597. ></TR
  5598. ><TR
  5599. ><TD
  5600. ><TT
  5601. CLASS="FILENAME"
  5602. >man</TT
  5603. ></TD
  5604. ><TD
  5605. >Local online manuals</TD
  5606. ></TR
  5607. ><TR
  5608. ><TD
  5609. ><TT
  5610. CLASS="FILENAME"
  5611. >sbin</TT
  5612. ></TD
  5613. ><TD
  5614. >Local system binaries</TD
  5615. ></TR
  5616. ><TR
  5617. ><TD
  5618. ><TT
  5619. CLASS="FILENAME"
  5620. >share</TT
  5621. ></TD
  5622. ><TD
  5623. >Local architecture-independent hierarchy</TD
  5624. ></TR
  5625. ><TR
  5626. ><TD
  5627. ><TT
  5628. CLASS="FILENAME"
  5629. >src</TT
  5630. ></TD
  5631. ><TD
  5632. >Local source code</TD
  5633. ></TR
  5634. ></TBODY
  5635. ></TABLE
  5636. ><P
  5637. ></P
  5638. ></DIV
  5639. ><P
  5640. >No other directories, except those listed below, may be in
  5641. <TT
  5642. CLASS="FILENAME"
  5643. >/usr/local</TT
  5644. > after first installing a FHS-compliant
  5645. system.</P
  5646. ></DIV
  5647. ><DIV
  5648. CLASS="SECTION"
  5649. ><HR><H4
  5650. CLASS="SECTION"
  5651. ><A
  5652. NAME="SPECIFICOPTIONS14"
  5653. >Specific Options</A
  5654. ></H4
  5655. ><P
  5656. >If directories <TT
  5657. CLASS="FILENAME"
  5658. >/lib&lt;qual&gt;</TT
  5659. > or
  5660. <TT
  5661. CLASS="FILENAME"
  5662. >/usr/lib&lt;qual&gt;</TT
  5663. > exist, the equivalent
  5664. directories must also exist in <TT
  5665. CLASS="FILENAME"
  5666. >/usr/local</TT
  5667. >.</P
  5668. ><P
  5669. ><TT
  5670. CLASS="FILENAME"
  5671. >/usr/local/etc</TT
  5672. > may be a symbolic link to
  5673. <TT
  5674. CLASS="FILENAME"
  5675. >/etc/local</TT
  5676. >.</P
  5677. ><DIV
  5678. CLASS="TIP"
  5679. ><P
  5680. ></P
  5681. ><TABLE
  5682. CLASS="TIP"
  5683. WIDTH="100%"
  5684. BORDER="0"
  5685. ><TR
  5686. ><TD
  5687. WIDTH="25"
  5688. ALIGN="CENTER"
  5689. VALIGN="TOP"
  5690. ><IMG
  5691. SRC="tip.gif"
  5692. HSPACE="5"
  5693. ALT="Tip"></TD
  5694. ><TH
  5695. ALIGN="LEFT"
  5696. VALIGN="CENTER"
  5697. ><B
  5698. >Rationale</B
  5699. ></TH
  5700. ></TR
  5701. ><TR
  5702. ><TD
  5703. >&nbsp;</TD
  5704. ><TD
  5705. ALIGN="LEFT"
  5706. VALIGN="TOP"
  5707. ><P
  5708. >The consistency of <TT
  5709. CLASS="FILENAME"
  5710. >/usr/local/etc</TT
  5711. > is
  5712. beneficial to installers, and is already used in other systems. As
  5713. all of <TT
  5714. CLASS="FILENAME"
  5715. >/usr/local</TT
  5716. > needs to be backed up to
  5717. reproduce a system, it introduces no additional maintenance overhead,
  5718. but a symlink to <TT
  5719. CLASS="FILENAME"
  5720. >/etc/local</TT
  5721. > is suitable if
  5722. systems want alltheir configuration under one hierarchy.</P
  5723. ><P
  5724. >Note that <TT
  5725. CLASS="FILENAME"
  5726. >/usr/etc</TT
  5727. > is still not allowed: programs
  5728. in <TT
  5729. CLASS="FILENAME"
  5730. >/usr</TT
  5731. > should place configuration files in
  5732. <TT
  5733. CLASS="FILENAME"
  5734. >/etc</TT
  5735. >.</P
  5736. ></TD
  5737. ></TR
  5738. ></TABLE
  5739. ></DIV
  5740. ></DIV
  5741. ></DIV
  5742. ></DIV
  5743. ><DIV
  5744. CLASS="SECTION"
  5745. ><HR><H2
  5746. CLASS="SECTION"
  5747. ><A
  5748. NAME="USRLOCALSHARE1"
  5749. >/usr/local/share</A
  5750. ></H2
  5751. ><P
  5752. >The requirements for the contents of this directory are the same
  5753. as <TT
  5754. CLASS="FILENAME"
  5755. >/usr/share</TT
  5756. >. The only additional constraint is
  5757. that <TT
  5758. CLASS="FILENAME"
  5759. >/usr/local/share/man</TT
  5760. > and
  5761. <TT
  5762. CLASS="FILENAME"
  5763. >/usr/local/man</TT
  5764. > directories must be synonomous
  5765. (usually this means that one of them must be a symbolic link).
  5766. <A
  5767. NAME="AEN1530"
  5768. HREF="#FTN.AEN1530"
  5769. ><SPAN
  5770. CLASS="footnote"
  5771. >[28]</SPAN
  5772. ></A
  5773. ></P
  5774. ></DIV
  5775. ><DIV
  5776. CLASS="SECTION"
  5777. ><HR><H2
  5778. CLASS="SECTION"
  5779. ><A
  5780. NAME="USRSBINNONESSENTIALSTANDARDSYSTEMBI"
  5781. >/usr/sbin : Non-essential standard system binaries</A
  5782. ></H2
  5783. ><DIV
  5784. CLASS="SECTION"
  5785. ><H3
  5786. CLASS="SECTION"
  5787. ><A
  5788. NAME="PURPOSE25"
  5789. >Purpose</A
  5790. ></H3
  5791. ><P
  5792. >This directory contains any non-essential binaries used
  5793. exclusively by the system administrator. System administration
  5794. programs that are required for system repair, system recovery,
  5795. mounting <TT
  5796. CLASS="FILENAME"
  5797. >/usr</TT
  5798. >, or other essential functions must
  5799. be placed in <TT
  5800. CLASS="FILENAME"
  5801. >/sbin</TT
  5802. > instead.
  5803. <A
  5804. NAME="AEN1540"
  5805. HREF="#FTN.AEN1540"
  5806. ><SPAN
  5807. CLASS="footnote"
  5808. >[29]</SPAN
  5809. ></A
  5810. ></P
  5811. ></DIV
  5812. ></DIV
  5813. ><DIV
  5814. CLASS="SECTION"
  5815. ><HR><H2
  5816. CLASS="SECTION"
  5817. ><A
  5818. NAME="USRSHAREARCHITECTUREINDEPENDENTDATA"
  5819. >/usr/share : Architecture-independent data</A
  5820. ></H2
  5821. ><DIV
  5822. CLASS="SECTION"
  5823. ><H3
  5824. CLASS="SECTION"
  5825. ><A
  5826. NAME="PURPOSE26"
  5827. >Purpose</A
  5828. ></H3
  5829. ><P
  5830. >The <TT
  5831. CLASS="FILENAME"
  5832. >/usr/share</TT
  5833. > hierarchy is for all
  5834. read-only architecture independent data files.
  5835. <A
  5836. NAME="AEN1550"
  5837. HREF="#FTN.AEN1550"
  5838. ><SPAN
  5839. CLASS="footnote"
  5840. >[30]</SPAN
  5841. ></A
  5842. >&#13;</P
  5843. ><P
  5844. >This hierarchy is intended to be shareable among all
  5845. architecture platforms of a given OS; thus, for example, a site with
  5846. i386, Alpha, and PPC platforms might maintain a single
  5847. <TT
  5848. CLASS="FILENAME"
  5849. >/usr/share</TT
  5850. > directory that is centrally-mounted.
  5851. Note, however, that <TT
  5852. CLASS="FILENAME"
  5853. >/usr/share</TT
  5854. > is generally not
  5855. intended to be shared by different OSes or by different releases of
  5856. the same OS.</P
  5857. ><P
  5858. >Any program or package which contains or requires data that
  5859. doesn't need to be modified should store that data in
  5860. <TT
  5861. CLASS="FILENAME"
  5862. >/usr/share</TT
  5863. > (or
  5864. <TT
  5865. CLASS="FILENAME"
  5866. >/usr/local/share</TT
  5867. >, if installed locally). It is
  5868. recommended that a subdirectory be used in
  5869. <TT
  5870. CLASS="FILENAME"
  5871. >/usr/share</TT
  5872. > for this purpose.</P
  5873. ><P
  5874. >Game data stored in <TT
  5875. CLASS="FILENAME"
  5876. >/usr/share/games</TT
  5877. > must
  5878. be purely static data. Any modifiable files, such as score files,
  5879. game play logs, and so forth, should be placed in
  5880. <TT
  5881. CLASS="FILENAME"
  5882. >/var/games</TT
  5883. >.</P
  5884. ></DIV
  5885. ><DIV
  5886. CLASS="SECTION"
  5887. ><HR><H3
  5888. CLASS="SECTION"
  5889. ><A
  5890. NAME="REQUIREMENTS11"
  5891. >Requirements</A
  5892. ></H3
  5893. ><P
  5894. >The following directories, or symbolic links to directories,
  5895. must be in <TT
  5896. CLASS="FILENAME"
  5897. >/usr/share</TT
  5898. ></P
  5899. ><DIV
  5900. CLASS="INFORMALTABLE"
  5901. ><P
  5902. ></P
  5903. ><A
  5904. NAME="AEN1573"
  5905. ></A
  5906. ><TABLE
  5907. BORDER="0"
  5908. FRAME="void"
  5909. CLASS="CALSTABLE"
  5910. ><COL><COL><THEAD
  5911. ><TR
  5912. ><TH
  5913. >Directory</TH
  5914. ><TH
  5915. >Description</TH
  5916. ></TR
  5917. ></THEAD
  5918. ><TBODY
  5919. ><TR
  5920. ><TD
  5921. ><TT
  5922. CLASS="FILENAME"
  5923. >man</TT
  5924. ></TD
  5925. ><TD
  5926. >Online manuals</TD
  5927. ></TR
  5928. ><TR
  5929. ><TD
  5930. ><TT
  5931. CLASS="FILENAME"
  5932. >misc</TT
  5933. ></TD
  5934. ><TD
  5935. >Miscellaneous architecture-independent data</TD
  5936. ></TR
  5937. ></TBODY
  5938. ></TABLE
  5939. ><P
  5940. ></P
  5941. ></DIV
  5942. ></DIV
  5943. ><DIV
  5944. CLASS="SECTION"
  5945. ><HR><H3
  5946. CLASS="SECTION"
  5947. ><A
  5948. NAME="SPECIFICOPTIONS15"
  5949. >Specific Options</A
  5950. ></H3
  5951. ><P
  5952. >The following directories, or symbolic links to directories, must be in <TT
  5953. CLASS="FILENAME"
  5954. >/usr/share</TT
  5955. >, if the corresponding
  5956. subsystem is installed:</P
  5957. ><DIV
  5958. CLASS="INFORMALTABLE"
  5959. ><P
  5960. ></P
  5961. ><A
  5962. NAME="AEN1592"
  5963. ></A
  5964. ><TABLE
  5965. BORDER="0"
  5966. FRAME="void"
  5967. CLASS="CALSTABLE"
  5968. ><COL><COL><THEAD
  5969. ><TR
  5970. ><TH
  5971. >Directory</TH
  5972. ><TH
  5973. >Description</TH
  5974. ></TR
  5975. ></THEAD
  5976. ><TBODY
  5977. ><TR
  5978. ><TD
  5979. ><TT
  5980. CLASS="FILENAME"
  5981. >dict</TT
  5982. ></TD
  5983. ><TD
  5984. >Word lists (optional)</TD
  5985. ></TR
  5986. ><TR
  5987. ><TD
  5988. ><TT
  5989. CLASS="FILENAME"
  5990. >doc</TT
  5991. ></TD
  5992. ><TD
  5993. >Miscellaneous documentation (optional)</TD
  5994. ></TR
  5995. ><TR
  5996. ><TD
  5997. ><TT
  5998. CLASS="FILENAME"
  5999. >games</TT
  6000. ></TD
  6001. ><TD
  6002. >Static data files for /usr/games (optional)</TD
  6003. ></TR
  6004. ><TR
  6005. ><TD
  6006. ><TT
  6007. CLASS="FILENAME"
  6008. >info</TT
  6009. ></TD
  6010. ><TD
  6011. >GNU Info system s primary directory (optional)</TD
  6012. ></TR
  6013. ><TR
  6014. ><TD
  6015. ><TT
  6016. CLASS="FILENAME"
  6017. >locale</TT
  6018. ></TD
  6019. ><TD
  6020. >Locale information (optional)</TD
  6021. ></TR
  6022. ><TR
  6023. ><TD
  6024. ><TT
  6025. CLASS="FILENAME"
  6026. >nls</TT
  6027. ></TD
  6028. ><TD
  6029. >Message catalogs for Native language support (optional)</TD
  6030. ></TR
  6031. ><TR
  6032. ><TD
  6033. ><TT
  6034. CLASS="FILENAME"
  6035. >sgml</TT
  6036. ></TD
  6037. ><TD
  6038. >SGML data (optional)</TD
  6039. ></TR
  6040. ><TR
  6041. ><TD
  6042. ><TT
  6043. CLASS="FILENAME"
  6044. >terminfo</TT
  6045. ></TD
  6046. ><TD
  6047. >Directories for terminfo database (optional)</TD
  6048. ></TR
  6049. ><TR
  6050. ><TD
  6051. ><TT
  6052. CLASS="FILENAME"
  6053. >tmac</TT
  6054. ></TD
  6055. ><TD
  6056. >troff macros not distributed with groff (optional)</TD
  6057. ></TR
  6058. ><TR
  6059. ><TD
  6060. ><TT
  6061. CLASS="FILENAME"
  6062. >xml</TT
  6063. ></TD
  6064. ><TD
  6065. >XML data (optional)</TD
  6066. ></TR
  6067. ><TR
  6068. ><TD
  6069. ><TT
  6070. CLASS="FILENAME"
  6071. >zoneinfo</TT
  6072. ></TD
  6073. ><TD
  6074. >Timezone information and configuration (optional)</TD
  6075. ></TR
  6076. ></TBODY
  6077. ></TABLE
  6078. ><P
  6079. ></P
  6080. ></DIV
  6081. ><P
  6082. >It is recommended that application-specific,
  6083. architecture-independent directories be placed here. Such directories
  6084. include <B
  6085. CLASS="COMMAND"
  6086. >groff</B
  6087. >, <B
  6088. CLASS="COMMAND"
  6089. >perl</B
  6090. >,
  6091. <B
  6092. CLASS="COMMAND"
  6093. >ghostscript</B
  6094. >, <B
  6095. CLASS="COMMAND"
  6096. >texmf</B
  6097. >, and
  6098. <B
  6099. CLASS="COMMAND"
  6100. >kbd</B
  6101. > (Linux) or <B
  6102. CLASS="COMMAND"
  6103. >syscons</B
  6104. >
  6105. (BSD). They may, however, be placed in <TT
  6106. CLASS="FILENAME"
  6107. >/usr/lib</TT
  6108. >
  6109. for backwards compatibility, at the distributor's discretion.
  6110. Similarly, a <TT
  6111. CLASS="FILENAME"
  6112. >/usr/lib/games</TT
  6113. > hierarchy may be used
  6114. in addition to the <TT
  6115. CLASS="FILENAME"
  6116. >/usr/share/games</TT
  6117. > hierarchy if
  6118. the distributor wishes to place some game data there.</P
  6119. ></DIV
  6120. ><DIV
  6121. CLASS="SECTION"
  6122. ><HR><H3
  6123. CLASS="SECTION"
  6124. ><A
  6125. NAME="USRSHAREDICTWORDLISTS"
  6126. >/usr/share/dict : Word lists (optional)</A
  6127. ></H3
  6128. ><DIV
  6129. CLASS="SECTION"
  6130. ><H4
  6131. CLASS="SECTION"
  6132. ><A
  6133. NAME="PURPOSE27"
  6134. >Purpose</A
  6135. ></H4
  6136. ><P
  6137. >This directory is the home for word lists on the system;
  6138. Traditionally this directory contains only the English
  6139. <TT
  6140. CLASS="FILENAME"
  6141. >words</TT
  6142. > file, which is used by
  6143. <B
  6144. CLASS="COMMAND"
  6145. >look(1)</B
  6146. > and various spelling programs.
  6147. <TT
  6148. CLASS="FILENAME"
  6149. >words</TT
  6150. > may use either American or British
  6151. spelling.</P
  6152. ><DIV
  6153. CLASS="TIP"
  6154. ><P
  6155. ></P
  6156. ><TABLE
  6157. CLASS="TIP"
  6158. WIDTH="100%"
  6159. BORDER="0"
  6160. ><TR
  6161. ><TD
  6162. WIDTH="25"
  6163. ALIGN="CENTER"
  6164. VALIGN="TOP"
  6165. ><IMG
  6166. SRC="tip.gif"
  6167. HSPACE="5"
  6168. ALT="Tip"></TD
  6169. ><TH
  6170. ALIGN="LEFT"
  6171. VALIGN="CENTER"
  6172. ><B
  6173. >Rationale</B
  6174. ></TH
  6175. ></TR
  6176. ><TR
  6177. ><TD
  6178. >&nbsp;</TD
  6179. ><TD
  6180. ALIGN="LEFT"
  6181. VALIGN="TOP"
  6182. ><P
  6183. >The reason that only word lists are located here is that they
  6184. are the only files common to all spell checkers.</P
  6185. ></TD
  6186. ></TR
  6187. ></TABLE
  6188. ></DIV
  6189. ></DIV
  6190. ><DIV
  6191. CLASS="SECTION"
  6192. ><HR><H4
  6193. CLASS="SECTION"
  6194. ><A
  6195. NAME="SPECIFICOPTIONS16"
  6196. >Specific Options</A
  6197. ></H4
  6198. ><P
  6199. >The following files, or symbolic links to files, must be in
  6200. <TT
  6201. CLASS="FILENAME"
  6202. >/usr/share/dict</TT
  6203. >, if the corresponding subsystem
  6204. is installed:</P
  6205. ><DIV
  6206. CLASS="INFORMALTABLE"
  6207. ><P
  6208. ></P
  6209. ><A
  6210. NAME="AEN1668"
  6211. ></A
  6212. ><TABLE
  6213. BORDER="0"
  6214. FRAME="void"
  6215. CLASS="CALSTABLE"
  6216. ><COL><COL><THEAD
  6217. ><TR
  6218. ><TH
  6219. ><TT
  6220. CLASS="FILENAME"
  6221. >File</TT
  6222. ></TH
  6223. ><TH
  6224. >Description</TH
  6225. ></TR
  6226. ></THEAD
  6227. ><TBODY
  6228. ><TR
  6229. ><TD
  6230. ><TT
  6231. CLASS="FILENAME"
  6232. >words</TT
  6233. ></TD
  6234. ><TD
  6235. >List of English words (optional)</TD
  6236. ></TR
  6237. ></TBODY
  6238. ></TABLE
  6239. ><P
  6240. ></P
  6241. ></DIV
  6242. ><P
  6243. >Sites that require both American and British spelling may link
  6244. <TT
  6245. CLASS="FILENAME"
  6246. >words</TT
  6247. > to
  6248. <TT
  6249. CLASS="FILENAME"
  6250. >&shy;/usr/share/dict/american-english</TT
  6251. > or
  6252. <TT
  6253. CLASS="FILENAME"
  6254. >&shy;/usr/share/dict/british-english</TT
  6255. >.</P
  6256. ><P
  6257. >Word lists for other languages may be added using the English
  6258. name for that language, e.g.,
  6259. <TT
  6260. CLASS="FILENAME"
  6261. >/usr/share/dict/french</TT
  6262. >,
  6263. <TT
  6264. CLASS="FILENAME"
  6265. >/usr/share/dict/danish</TT
  6266. >, etc. These should, if
  6267. possible, use an ISO 8859 character set which is appropriate for the
  6268. language in question; if possible the Latin1 (ISO 8859-1) character
  6269. set should be used (this is often not possible).</P
  6270. ><P
  6271. >Other word lists must be included here, if present.</P
  6272. ></DIV
  6273. ></DIV
  6274. ><DIV
  6275. CLASS="SECTION"
  6276. ><HR><H3
  6277. CLASS="SECTION"
  6278. ><A
  6279. NAME="USRSHAREMANMANUALPAGES"
  6280. >/usr/share/man : Manual pages</A
  6281. ></H3
  6282. ><DIV
  6283. CLASS="SECTION"
  6284. ><H4
  6285. CLASS="SECTION"
  6286. ><A
  6287. NAME="PURPOSE28"
  6288. >Purpose</A
  6289. ></H4
  6290. ><P
  6291. >This section details the organization for manual pages
  6292. throughout the system, including <TT
  6293. CLASS="FILENAME"
  6294. >/usr/share/man</TT
  6295. >.
  6296. Also refer to the section on
  6297. <TT
  6298. CLASS="FILENAME"
  6299. >/var/cache/man</TT
  6300. >.</P
  6301. ><P
  6302. >The primary <TT
  6303. CLASS="FILENAME"
  6304. >&lt;mandir&gt;</TT
  6305. > of the system is
  6306. <TT
  6307. CLASS="FILENAME"
  6308. >/usr/share/man</TT
  6309. >.
  6310. <TT
  6311. CLASS="FILENAME"
  6312. >/usr/share/man</TT
  6313. > contains manual information for
  6314. commands and data under the <TT
  6315. CLASS="FILENAME"
  6316. >/</TT
  6317. > and
  6318. <TT
  6319. CLASS="FILENAME"
  6320. >/usr</TT
  6321. > filesystems.
  6322. <A
  6323. NAME="AEN1701"
  6324. HREF="#FTN.AEN1701"
  6325. ><SPAN
  6326. CLASS="footnote"
  6327. >[31]</SPAN
  6328. ></A
  6329. ></P
  6330. ><P
  6331. >Manual pages are stored in
  6332. <TT
  6333. CLASS="FILENAME"
  6334. >&lt;mandir&gt;/&lt;locale&gt;/man&lt;section&gt;/&lt;arch&gt;</TT
  6335. >.
  6336. An explanation of <TT
  6337. CLASS="FILENAME"
  6338. >&lt;mandir&gt;</TT
  6339. >,
  6340. <TT
  6341. CLASS="FILENAME"
  6342. >&lt;locale&gt;</TT
  6343. >,
  6344. <TT
  6345. CLASS="FILENAME"
  6346. >&lt;section&gt;</TT
  6347. >, and
  6348. <TT
  6349. CLASS="FILENAME"
  6350. >&lt;arch&gt;</TT
  6351. > is given below.</P
  6352. ><P
  6353. >A description of each section follows:</P
  6354. ><P
  6355. ></P
  6356. ><UL
  6357. ><LI
  6358. STYLE="list-style-type: disc"
  6359. ><P
  6360. ><TT
  6361. CLASS="FILENAME"
  6362. >man1</TT
  6363. >: User programs
  6364. Manual pages that describe publicly accessible commands are contained in
  6365. this chapter. Most program documentation that a user will need to use
  6366. is located here.</P
  6367. ></LI
  6368. ><LI
  6369. STYLE="list-style-type: disc"
  6370. ><P
  6371. ><TT
  6372. CLASS="FILENAME"
  6373. >man2</TT
  6374. >: System calls
  6375. This section describes all of the system calls (requests for the
  6376. kernel to perform operations).</P
  6377. ></LI
  6378. ><LI
  6379. STYLE="list-style-type: disc"
  6380. ><P
  6381. ><TT
  6382. CLASS="FILENAME"
  6383. >man3</TT
  6384. >: Library functions and subroutines
  6385. Section 3 describes program library routines that are not direct calls
  6386. to kernel services. This and chapter 2 are only really of interest to
  6387. programmers.</P
  6388. ></LI
  6389. ><LI
  6390. STYLE="list-style-type: disc"
  6391. ><P
  6392. ><TT
  6393. CLASS="FILENAME"
  6394. >man4</TT
  6395. >: Special files
  6396. Section 4 describes the special files, related driver functions, and
  6397. networking support available in the system. Typically, this includes
  6398. the device files found in <TT
  6399. CLASS="FILENAME"
  6400. >/dev</TT
  6401. > and the kernel interface to
  6402. networking protocol support.</P
  6403. ></LI
  6404. ><LI
  6405. STYLE="list-style-type: disc"
  6406. ><P
  6407. ><TT
  6408. CLASS="FILENAME"
  6409. >man5</TT
  6410. >: File formats
  6411. The formats for many data files are documented in the
  6412. section 5. This includes various include files, program output files,
  6413. and system files.</P
  6414. ></LI
  6415. ><LI
  6416. STYLE="list-style-type: disc"
  6417. ><P
  6418. ><TT
  6419. CLASS="FILENAME"
  6420. >man6</TT
  6421. >: Games
  6422. This chapter documents games, demos, and generally trivial programs.
  6423. Different people have various notions about how essential this is.</P
  6424. ></LI
  6425. ><LI
  6426. STYLE="list-style-type: disc"
  6427. ><P
  6428. ><TT
  6429. CLASS="FILENAME"
  6430. >man7</TT
  6431. >: Miscellaneous
  6432. Manual pages that are difficult to classify are designated as being
  6433. section 7. The troff and other text processing macro packages are found
  6434. here.</P
  6435. ></LI
  6436. ><LI
  6437. STYLE="list-style-type: disc"
  6438. ><P
  6439. ><TT
  6440. CLASS="FILENAME"
  6441. >man8</TT
  6442. >: System administration
  6443. Programs used by system administrators for system operation and
  6444. maintenance are documented here. Some of these programs are also
  6445. occasionally useful for normal users.</P
  6446. ></LI
  6447. ></UL
  6448. ></DIV
  6449. ><DIV
  6450. CLASS="SECTION"
  6451. ><HR><H4
  6452. CLASS="SECTION"
  6453. ><A
  6454. NAME="SPECIFICOPTIONS17"
  6455. >Specific Options</A
  6456. ></H4
  6457. ><P
  6458. >The following directories, or symbolic links to directories,
  6459. must be in
  6460. <TT
  6461. CLASS="FILENAME"
  6462. >/usr/share/&lt;mandir&gt;/&lt;locale&gt;</TT
  6463. >, unless
  6464. they are empty:
  6465. <A
  6466. NAME="AEN1741"
  6467. HREF="#FTN.AEN1741"
  6468. ><SPAN
  6469. CLASS="footnote"
  6470. >[32]</SPAN
  6471. ></A
  6472. ></P
  6473. ><DIV
  6474. CLASS="INFORMALTABLE"
  6475. ><P
  6476. ></P
  6477. ><A
  6478. NAME="AEN1745"
  6479. ></A
  6480. ><TABLE
  6481. BORDER="0"
  6482. FRAME="void"
  6483. CLASS="CALSTABLE"
  6484. ><COL><COL><THEAD
  6485. ><TR
  6486. ><TH
  6487. >Directory</TH
  6488. ><TH
  6489. >Description</TH
  6490. ></TR
  6491. ></THEAD
  6492. ><TBODY
  6493. ><TR
  6494. ><TD
  6495. ><TT
  6496. CLASS="FILENAME"
  6497. >man1</TT
  6498. ></TD
  6499. ><TD
  6500. >User programs (optional)</TD
  6501. ></TR
  6502. ><TR
  6503. ><TD
  6504. ><TT
  6505. CLASS="FILENAME"
  6506. >man2</TT
  6507. ></TD
  6508. ><TD
  6509. >System calls (optional)</TD
  6510. ></TR
  6511. ><TR
  6512. ><TD
  6513. ><TT
  6514. CLASS="FILENAME"
  6515. >man3</TT
  6516. ></TD
  6517. ><TD
  6518. >Library calls (optional)</TD
  6519. ></TR
  6520. ><TR
  6521. ><TD
  6522. ><TT
  6523. CLASS="FILENAME"
  6524. >man4</TT
  6525. ></TD
  6526. ><TD
  6527. >Special files (optional)</TD
  6528. ></TR
  6529. ><TR
  6530. ><TD
  6531. ><TT
  6532. CLASS="FILENAME"
  6533. >man5</TT
  6534. ></TD
  6535. ><TD
  6536. >File formats (optional)</TD
  6537. ></TR
  6538. ><TR
  6539. ><TD
  6540. ><TT
  6541. CLASS="FILENAME"
  6542. >man6</TT
  6543. ></TD
  6544. ><TD
  6545. >Games (optional)</TD
  6546. ></TR
  6547. ><TR
  6548. ><TD
  6549. ><TT
  6550. CLASS="FILENAME"
  6551. >man7</TT
  6552. ></TD
  6553. ><TD
  6554. >Miscellaneous (optional)</TD
  6555. ></TR
  6556. ><TR
  6557. ><TD
  6558. ><TT
  6559. CLASS="FILENAME"
  6560. >man8</TT
  6561. ></TD
  6562. ><TD
  6563. >System administration (optional)</TD
  6564. ></TR
  6565. ></TBODY
  6566. ></TABLE
  6567. ><P
  6568. ></P
  6569. ></DIV
  6570. ><P
  6571. >The component <TT
  6572. CLASS="FILENAME"
  6573. >&lt;section&gt;</TT
  6574. > describes the
  6575. manual section.</P
  6576. ><P
  6577. >Provisions must be made in the structure of
  6578. <TT
  6579. CLASS="FILENAME"
  6580. >/usr/share/man</TT
  6581. > to support manual pages which are
  6582. written in different (or multiple) languages. These provisions must
  6583. take into account the storage and reference of these manual pages.
  6584. Relevant factors include language (including geographical-based
  6585. differences), and character code set.</P
  6586. ><P
  6587. >This naming of language subdirectories of
  6588. <TT
  6589. CLASS="FILENAME"
  6590. >/usr/share/man</TT
  6591. > is based on Appendix E of the
  6592. POSIX 1003.1 standard which describes the locale identification string
  6593. &mdash; the most well-accepted method to describe a cultural
  6594. environment. The <TT
  6595. CLASS="FILENAME"
  6596. >&lt;locale&gt;</TT
  6597. > string
  6598. is:</P
  6599. ><P
  6600. ><TT
  6601. CLASS="FILENAME"
  6602. >&lt;language&gt;[_&lt;territory&gt;][.&lt;character-set&gt;][,&lt;version&gt;]</TT
  6603. ></P
  6604. ><P
  6605. >The <TT
  6606. CLASS="FILENAME"
  6607. >&lt;language&gt;</TT
  6608. > field must be taken
  6609. from ISO 639 (a code for the representation of names of languages).
  6610. It must be two characters wide and specified with lowercase letters
  6611. only.</P
  6612. ><P
  6613. >The <TT
  6614. CLASS="FILENAME"
  6615. >&lt;territory&gt;</TT
  6616. > field must be the
  6617. two-letter code of ISO 3166 (a specification of representations of
  6618. countries), if possible. (Most people are familiar with the
  6619. two-letter codes used for the country codes in email addresses.) It
  6620. must be two characters wide and specified with uppercase letters
  6621. only.
  6622. <A
  6623. NAME="AEN1797"
  6624. HREF="#FTN.AEN1797"
  6625. ><SPAN
  6626. CLASS="footnote"
  6627. >[33]</SPAN
  6628. ></A
  6629. ></P
  6630. ><P
  6631. >The <TT
  6632. CLASS="FILENAME"
  6633. >&lt;character-set&gt;</TT
  6634. > field must
  6635. represent the standard describing the character set. If the
  6636. <TT
  6637. CLASS="FILENAME"
  6638. >&shy;&lt;character-set&gt;</TT
  6639. > field is just a
  6640. numeric specification, the number represents the number of the
  6641. international standard describing the character set. It is
  6642. recommended that this be a numeric representation if possible (ISO
  6643. standards, especially), not include additional punctuation symbols,
  6644. and that any letters be in lowercase.</P
  6645. ><P
  6646. >A parameter specifying a <TT
  6647. CLASS="FILENAME"
  6648. >&lt;version&gt;</TT
  6649. > of
  6650. the profile may be placed after the
  6651. <TT
  6652. CLASS="FILENAME"
  6653. >&shy;&lt;character-set&gt;</TT
  6654. > field, delimited by a
  6655. comma. This may be used to discriminate between different cultural
  6656. needs; for instance, dictionary order versus a more systems-oriented
  6657. collating order. This standard recommends not using the
  6658. <TT
  6659. CLASS="FILENAME"
  6660. >&lt;version&gt;</TT
  6661. > field, unless it is
  6662. necessary.</P
  6663. ><P
  6664. >Systems which use a unique language and code set for all manual
  6665. pages may omit the <TT
  6666. CLASS="FILENAME"
  6667. >&lt;locale&gt;</TT
  6668. > substring and
  6669. store all manual pages in <TT
  6670. CLASS="FILENAME"
  6671. >&lt;mandir&gt;</TT
  6672. >. For
  6673. example, systems which only have English manual pages coded with
  6674. ASCII, may store manual pages (the
  6675. <TT
  6676. CLASS="FILENAME"
  6677. >man&lt;section&gt;</TT
  6678. > directories) directly in
  6679. <TT
  6680. CLASS="FILENAME"
  6681. >/usr/share/man</TT
  6682. >. (That is the traditional
  6683. circumstance and arrangement, in fact.)</P
  6684. ><P
  6685. >Countries for which there is a well-accepted standard character
  6686. code set may omit the <TT
  6687. CLASS="FILENAME"
  6688. >&shy;&lt;character-set&gt;</TT
  6689. >
  6690. field, but it is strongly recommended that it be included, especially
  6691. for countries with several competing standards.</P
  6692. ><P
  6693. >Various examples:</P
  6694. ><DIV
  6695. CLASS="INFORMALTABLE"
  6696. ><P
  6697. ></P
  6698. ><A
  6699. NAME="AEN1814"
  6700. ></A
  6701. ><TABLE
  6702. BORDER="0"
  6703. FRAME="void"
  6704. CLASS="CALSTABLE"
  6705. ><COL
  6706. WIDTH="1*"
  6707. TITLE="C1"><COL
  6708. WIDTH="1*"
  6709. TITLE="C2"><COL
  6710. WIDTH="1*"
  6711. TITLE="C3"><COL
  6712. WIDTH="1*"
  6713. TITLE="C4"><THEAD
  6714. ><TR
  6715. ><TH
  6716. ALIGN="LEFT"
  6717. >Language</TH
  6718. ><TH
  6719. ALIGN="LEFT"
  6720. >Territory</TH
  6721. ><TH
  6722. ALIGN="LEFT"
  6723. >Character Set</TH
  6724. ><TH
  6725. ALIGN="LEFT"
  6726. >Directory</TH
  6727. ></TR
  6728. ></THEAD
  6729. ><TBODY
  6730. ><TR
  6731. ><TD
  6732. ALIGN="LEFT"
  6733. >English</TD
  6734. ><TD
  6735. ALIGN="LEFT"
  6736. >&mdash;</TD
  6737. ><TD
  6738. ALIGN="LEFT"
  6739. >ASCII</TD
  6740. ><TD
  6741. ALIGN="LEFT"
  6742. >/usr/share/man/en</TD
  6743. ></TR
  6744. ><TR
  6745. ><TD
  6746. ALIGN="LEFT"
  6747. >English</TD
  6748. ><TD
  6749. ALIGN="LEFT"
  6750. >United Kingdom</TD
  6751. ><TD
  6752. ALIGN="LEFT"
  6753. >ISO 8859-15</TD
  6754. ><TD
  6755. ALIGN="LEFT"
  6756. >/usr/share/man/en_GB</TD
  6757. ></TR
  6758. ><TR
  6759. ><TD
  6760. ALIGN="LEFT"
  6761. >English</TD
  6762. ><TD
  6763. ALIGN="LEFT"
  6764. >United States</TD
  6765. ><TD
  6766. ALIGN="LEFT"
  6767. >ASCII</TD
  6768. ><TD
  6769. ALIGN="LEFT"
  6770. >/usr/share/man/en_US</TD
  6771. ></TR
  6772. ><TR
  6773. ><TD
  6774. ALIGN="LEFT"
  6775. >French</TD
  6776. ><TD
  6777. ALIGN="LEFT"
  6778. >Canada</TD
  6779. ><TD
  6780. ALIGN="LEFT"
  6781. >ISO 8859-1</TD
  6782. ><TD
  6783. ALIGN="LEFT"
  6784. >/usr/share/man/fr_CA</TD
  6785. ></TR
  6786. ><TR
  6787. ><TD
  6788. ALIGN="LEFT"
  6789. >French</TD
  6790. ><TD
  6791. ALIGN="LEFT"
  6792. >France</TD
  6793. ><TD
  6794. ALIGN="LEFT"
  6795. >ISO 8859-1</TD
  6796. ><TD
  6797. ALIGN="LEFT"
  6798. >/usr/share/man/fr_FR</TD
  6799. ></TR
  6800. ><TR
  6801. ><TD
  6802. ALIGN="LEFT"
  6803. >German</TD
  6804. ><TD
  6805. ALIGN="LEFT"
  6806. >Germany</TD
  6807. ><TD
  6808. ALIGN="LEFT"
  6809. >ISO 646</TD
  6810. ><TD
  6811. ALIGN="LEFT"
  6812. >/usr/share/man/de_DE.646</TD
  6813. ></TR
  6814. ><TR
  6815. ><TD
  6816. ALIGN="LEFT"
  6817. >German</TD
  6818. ><TD
  6819. ALIGN="LEFT"
  6820. >Germany</TD
  6821. ><TD
  6822. ALIGN="LEFT"
  6823. >ISO 6937</TD
  6824. ><TD
  6825. ALIGN="LEFT"
  6826. >/usr/share/man/de_DE.6937</TD
  6827. ></TR
  6828. ><TR
  6829. ><TD
  6830. ALIGN="LEFT"
  6831. >German</TD
  6832. ><TD
  6833. ALIGN="LEFT"
  6834. >Germany</TD
  6835. ><TD
  6836. ALIGN="LEFT"
  6837. >ISO 8859-1</TD
  6838. ><TD
  6839. ALIGN="LEFT"
  6840. >/usr/share/man/de_DE.88591</TD
  6841. ></TR
  6842. ><TR
  6843. ><TD
  6844. ALIGN="LEFT"
  6845. >German</TD
  6846. ><TD
  6847. ALIGN="LEFT"
  6848. >Switzerland</TD
  6849. ><TD
  6850. ALIGN="LEFT"
  6851. >ISO 646</TD
  6852. ><TD
  6853. ALIGN="LEFT"
  6854. >/usr/share/man/de_CH.646</TD
  6855. ></TR
  6856. ><TR
  6857. ><TD
  6858. ALIGN="LEFT"
  6859. >Japanese</TD
  6860. ><TD
  6861. ALIGN="LEFT"
  6862. >Japan</TD
  6863. ><TD
  6864. ALIGN="LEFT"
  6865. >JIS</TD
  6866. ><TD
  6867. ALIGN="LEFT"
  6868. >/usr/share/man/ja_JP.jis</TD
  6869. ></TR
  6870. ><TR
  6871. ><TD
  6872. ALIGN="LEFT"
  6873. >Japanese</TD
  6874. ><TD
  6875. ALIGN="LEFT"
  6876. >Japan</TD
  6877. ><TD
  6878. ALIGN="LEFT"
  6879. >SJIS</TD
  6880. ><TD
  6881. ALIGN="LEFT"
  6882. >/usr/share/man/ja_JP.sjis</TD
  6883. ></TR
  6884. ><TR
  6885. ><TD
  6886. ALIGN="LEFT"
  6887. >Japanese</TD
  6888. ><TD
  6889. ALIGN="LEFT"
  6890. >Japan</TD
  6891. ><TD
  6892. ALIGN="LEFT"
  6893. >UJIS (or EUC-J)</TD
  6894. ><TD
  6895. ALIGN="LEFT"
  6896. >/usr/share/man/ja_JP.ujis</TD
  6897. ></TR
  6898. ></TBODY
  6899. ></TABLE
  6900. ><P
  6901. ></P
  6902. ></DIV
  6903. ><P
  6904. >Similarly, provision must be made for manual pages which are
  6905. architecture-dependent, such as documentation on device-drivers or
  6906. low-level system administration commands. These must be placed under
  6907. an <TT
  6908. CLASS="FILENAME"
  6909. >&lt;arch&gt;</TT
  6910. > directory in the appropriate
  6911. <TT
  6912. CLASS="FILENAME"
  6913. >man&lt;section&gt;</TT
  6914. > directory; for example, a man
  6915. page for the i386 ctrlaltdel(8) command might be placed in
  6916. <TT
  6917. CLASS="FILENAME"
  6918. >/usr/share/man/&lt;locale&gt;/man8/i386/ctrlaltdel.8</TT
  6919. >.</P
  6920. ><P
  6921. >Manual pages for commands and data under
  6922. <TT
  6923. CLASS="FILENAME"
  6924. >/usr/local</TT
  6925. > are stored in
  6926. <TT
  6927. CLASS="FILENAME"
  6928. >/usr/local/man</TT
  6929. >. Manual pages for X11R6 are
  6930. stored in <TT
  6931. CLASS="FILENAME"
  6932. >/usr/X11R6/man</TT
  6933. >. It follows that all
  6934. manual page hierarchies in the system must have the same structure as
  6935. <TT
  6936. CLASS="FILENAME"
  6937. >/usr/share/man</TT
  6938. >.</P
  6939. ><P
  6940. >The cat page sections (<TT
  6941. CLASS="FILENAME"
  6942. >cat&lt;section&gt;</TT
  6943. >)
  6944. containing formatted manual page entries are also found within
  6945. subdirectories of <TT
  6946. CLASS="FILENAME"
  6947. >&lt;mandir&gt;/&lt;locale&gt;</TT
  6948. >,
  6949. but are not required nor may they be distributed in lieu of nroff
  6950. source manual pages.</P
  6951. ><P
  6952. >The numbered sections "1" through "8" are traditionally defined.
  6953. In general, the file name for manual pages located within a particular
  6954. section end with <TT
  6955. CLASS="FILENAME"
  6956. >.&lt;section&gt;</TT
  6957. >.</P
  6958. ><P
  6959. >In addition, some large sets of application-specific manual
  6960. pages have an additional suffix appended to the manual page filename.
  6961. For example, the MH mail handling system manual pages must have
  6962. <TT
  6963. CLASS="FILENAME"
  6964. >mh</TT
  6965. > appended to all MH manuals. All X Window
  6966. System manual pages must have an <TT
  6967. CLASS="FILENAME"
  6968. >x</TT
  6969. > appended to
  6970. the filename.</P
  6971. ><P
  6972. >The practice of placing various language manual pages in
  6973. appropriate subdirectories of <TT
  6974. CLASS="FILENAME"
  6975. >/usr/share/man</TT
  6976. > also
  6977. applies to the other manual page hierarchies, such as
  6978. <TT
  6979. CLASS="FILENAME"
  6980. >/usr/local/man</TT
  6981. > and
  6982. <TT
  6983. CLASS="FILENAME"
  6984. >/usr/X11R6/man</TT
  6985. >. (This portion of the standard
  6986. also applies later in the section on the optional
  6987. <TT
  6988. CLASS="FILENAME"
  6989. >/var/cache/man</TT
  6990. > structure.)</P
  6991. ></DIV
  6992. ></DIV
  6993. ><DIV
  6994. CLASS="SECTION"
  6995. ><HR><H3
  6996. CLASS="SECTION"
  6997. ><A
  6998. NAME="USRSHAREMISCMISCELLANEOUSARCHITECTURE"
  6999. >/usr/share/misc : Miscellaneous architecture-independent data</A
  7000. ></H3
  7001. ><P
  7002. >This directory contains miscellaneous architecture-independent
  7003. files which don't require a separate subdirectory under
  7004. <TT
  7005. CLASS="FILENAME"
  7006. >/usr/share</TT
  7007. >.</P
  7008. ><DIV
  7009. CLASS="SECTION"
  7010. ><HR><H4
  7011. CLASS="SECTION"
  7012. ><A
  7013. NAME="SPECIFICOPTIONS18"
  7014. >Specific Options</A
  7015. ></H4
  7016. ><P
  7017. >The following files, or symbolic links to files, must be in
  7018. <TT
  7019. CLASS="FILENAME"
  7020. >/usr/share/misc</TT
  7021. >, if the corresponding subsystem
  7022. is installed:</P
  7023. ><DIV
  7024. CLASS="INFORMALTABLE"
  7025. ><P
  7026. ></P
  7027. ><A
  7028. NAME="AEN1917"
  7029. ></A
  7030. ><TABLE
  7031. BORDER="0"
  7032. FRAME="void"
  7033. CLASS="CALSTABLE"
  7034. ><COL
  7035. WIDTH="1*"
  7036. TITLE="C1"><COL
  7037. WIDTH="1*"
  7038. TITLE="C2"><THEAD
  7039. ><TR
  7040. ><TH
  7041. >File</TH
  7042. ><TH
  7043. >Description</TH
  7044. ></TR
  7045. ></THEAD
  7046. ><TBODY
  7047. ><TR
  7048. ><TD
  7049. ><TT
  7050. CLASS="FILENAME"
  7051. >ascii</TT
  7052. ></TD
  7053. ><TD
  7054. >ASCII character set table (optional)</TD
  7055. ></TR
  7056. ><TR
  7057. ><TD
  7058. ><TT
  7059. CLASS="FILENAME"
  7060. >magic</TT
  7061. ></TD
  7062. ><TD
  7063. >Default list of magic numbers for the file command (optional)</TD
  7064. ></TR
  7065. ><TR
  7066. ><TD
  7067. ><TT
  7068. CLASS="FILENAME"
  7069. >termcap</TT
  7070. ></TD
  7071. ><TD
  7072. >Terminal capability database (optional)</TD
  7073. ></TR
  7074. ><TR
  7075. ><TD
  7076. ><TT
  7077. CLASS="FILENAME"
  7078. >termcap.db</TT
  7079. ></TD
  7080. ><TD
  7081. >Terminal capability database (optional)</TD
  7082. ></TR
  7083. ></TBODY
  7084. ></TABLE
  7085. ><P
  7086. ></P
  7087. ></DIV
  7088. ><P
  7089. >Other (application-specific) files may appear here, but a distributor
  7090. may place them in <TT
  7091. CLASS="FILENAME"
  7092. >/usr/lib</TT
  7093. > at their discretion.
  7094. <A
  7095. NAME="AEN1944"
  7096. HREF="#FTN.AEN1944"
  7097. ><SPAN
  7098. CLASS="footnote"
  7099. >[34]</SPAN
  7100. ></A
  7101. ></P
  7102. ></DIV
  7103. ></DIV
  7104. ><DIV
  7105. CLASS="SECTION"
  7106. ><HR><H3
  7107. CLASS="SECTION"
  7108. ><A
  7109. NAME="USRSHARESGMLSGMLANDXMLDATA"
  7110. >/usr/share/sgml : SGML data (optional)</A
  7111. ></H3
  7112. ><DIV
  7113. CLASS="SECTION"
  7114. ><H4
  7115. CLASS="SECTION"
  7116. ><A
  7117. NAME="PURPOSE29"
  7118. >Purpose</A
  7119. ></H4
  7120. ><P
  7121. ><TT
  7122. CLASS="FILENAME"
  7123. >/usr/share/sgml</TT
  7124. > contains
  7125. architecture-independent files used by SGML applications, such
  7126. as ordinary catalogs (not the centralized ones, see
  7127. <TT
  7128. CLASS="FILENAME"
  7129. >/etc/sgml</TT
  7130. >), DTDs, entities, or style
  7131. sheets.</P
  7132. ></DIV
  7133. ><DIV
  7134. CLASS="SECTION"
  7135. ><HR><H4
  7136. CLASS="SECTION"
  7137. ><A
  7138. NAME="SPECIFICOPTIONS19"
  7139. >Specific Options</A
  7140. ></H4
  7141. ><P
  7142. >The following directories, or symbolic links to directories,
  7143. must be in <TT
  7144. CLASS="FILENAME"
  7145. >/usr/share/sgml</TT
  7146. >, if the corresponding
  7147. subsystem is installed:</P
  7148. ><DIV
  7149. CLASS="INFORMALTABLE"
  7150. ><P
  7151. ></P
  7152. ><A
  7153. NAME="AEN1983"
  7154. ></A
  7155. ><TABLE
  7156. BORDER="0"
  7157. FRAME="void"
  7158. CLASS="CALSTABLE"
  7159. ><COL><COL><THEAD
  7160. ><TR
  7161. ><TH
  7162. >Directory</TH
  7163. ><TH
  7164. >Description</TH
  7165. ></TR
  7166. ></THEAD
  7167. ><TBODY
  7168. ><TR
  7169. ><TD
  7170. ><TT
  7171. CLASS="FILENAME"
  7172. >docbook</TT
  7173. ></TD
  7174. ><TD
  7175. >docbook DTD (optional)</TD
  7176. ></TR
  7177. ><TR
  7178. ><TD
  7179. ><TT
  7180. CLASS="FILENAME"
  7181. >tei</TT
  7182. ></TD
  7183. ><TD
  7184. >tei DTD (optional)</TD
  7185. ></TR
  7186. ><TR
  7187. ><TD
  7188. ><TT
  7189. CLASS="FILENAME"
  7190. >html</TT
  7191. ></TD
  7192. ><TD
  7193. >html DTD (optional)</TD
  7194. ></TR
  7195. ><TR
  7196. ><TD
  7197. ><TT
  7198. CLASS="FILENAME"
  7199. >mathml</TT
  7200. ></TD
  7201. ><TD
  7202. >mathml DTD (optional)</TD
  7203. ></TR
  7204. ></TBODY
  7205. ></TABLE
  7206. ><P
  7207. ></P
  7208. ></DIV
  7209. ><P
  7210. >Other files that are not specific to a given DTD may reside in
  7211. their own subdirectory.</P
  7212. ></DIV
  7213. ></DIV
  7214. ><DIV
  7215. CLASS="SECTION"
  7216. ><HR><H3
  7217. CLASS="SECTION"
  7218. ><A
  7219. NAME="AEN2007"
  7220. >/usr/share/xml : XML data (optional)</A
  7221. ></H3
  7222. ><DIV
  7223. CLASS="SECTION"
  7224. ><H4
  7225. CLASS="SECTION"
  7226. ><A
  7227. NAME="AEN2009"
  7228. >Purpose</A
  7229. ></H4
  7230. ><P
  7231. ><TT
  7232. CLASS="FILENAME"
  7233. >/usr/share/xml</TT
  7234. > contains
  7235. architecture-independent files used by XML applications, such
  7236. as ordinary catalogs (not the centralized ones, see
  7237. <TT
  7238. CLASS="FILENAME"
  7239. >/etc/sgml</TT
  7240. >), DTDs, entities, or style
  7241. sheets.</P
  7242. ></DIV
  7243. ><DIV
  7244. CLASS="SECTION"
  7245. ><HR><H4
  7246. CLASS="SECTION"
  7247. ><A
  7248. NAME="AEN2014"
  7249. >Specific Options</A
  7250. ></H4
  7251. ><P
  7252. >The following directories, or symbolic links to directories,
  7253. must be in <TT
  7254. CLASS="FILENAME"
  7255. >/usr/share/xml</TT
  7256. >, if the corresponding
  7257. subsystem is installed:</P
  7258. ><DIV
  7259. CLASS="INFORMALTABLE"
  7260. ><P
  7261. ></P
  7262. ><A
  7263. NAME="AEN2018"
  7264. ></A
  7265. ><TABLE
  7266. BORDER="0"
  7267. FRAME="void"
  7268. CLASS="CALSTABLE"
  7269. ><COL><COL><THEAD
  7270. ><TR
  7271. ><TH
  7272. >Directory</TH
  7273. ><TH
  7274. >Description</TH
  7275. ></TR
  7276. ></THEAD
  7277. ><TBODY
  7278. ><TR
  7279. ><TD
  7280. ><TT
  7281. CLASS="FILENAME"
  7282. >docbook</TT
  7283. ></TD
  7284. ><TD
  7285. >docbook XML DTD (optional)</TD
  7286. ></TR
  7287. ><TR
  7288. ><TD
  7289. ><TT
  7290. CLASS="FILENAME"
  7291. >xhtml</TT
  7292. ></TD
  7293. ><TD
  7294. >XHTML DTD (optional)</TD
  7295. ></TR
  7296. ><TR
  7297. ><TD
  7298. ><TT
  7299. CLASS="FILENAME"
  7300. >mathml</TT
  7301. ></TD
  7302. ><TD
  7303. >MathML DTD (optional)</TD
  7304. ></TR
  7305. ></TBODY
  7306. ></TABLE
  7307. ><P
  7308. ></P
  7309. ></DIV
  7310. ></DIV
  7311. ></DIV
  7312. ></DIV
  7313. ><DIV
  7314. CLASS="SECTION"
  7315. ><HR><H2
  7316. CLASS="SECTION"
  7317. ><A
  7318. NAME="USRSRCSOURCECODE"
  7319. >/usr/src : Source code (optional)</A
  7320. ></H2
  7321. ><DIV
  7322. CLASS="SECTION"
  7323. ><H3
  7324. CLASS="SECTION"
  7325. ><A
  7326. NAME="PURPOSE30"
  7327. >Purpose</A
  7328. ></H3
  7329. ><P
  7330. >Source code may be place placed in this
  7331. subdirectory, only for reference purposes.
  7332. <A
  7333. NAME="AEN2042"
  7334. HREF="#FTN.AEN2042"
  7335. ><SPAN
  7336. CLASS="footnote"
  7337. >[35]</SPAN
  7338. ></A
  7339. ></P
  7340. ></DIV
  7341. ></DIV
  7342. ></DIV
  7343. ><DIV
  7344. CLASS="CHAPTER"
  7345. ><HR><H1
  7346. ><A
  7347. NAME="THEVARHIERARCHY"
  7348. ></A
  7349. >Chapter 5. The /var Hierarchy</H1
  7350. ><DIV
  7351. CLASS="SECTION"
  7352. ><H2
  7353. CLASS="SECTION"
  7354. ><A
  7355. NAME="PURPOSE31"
  7356. >Purpose</A
  7357. ></H2
  7358. ><P
  7359. ><TT
  7360. CLASS="FILENAME"
  7361. >/var</TT
  7362. > contains variable data files. This
  7363. includes spool directories and files, administrative and logging data,
  7364. and transient and temporary files.</P
  7365. ><P
  7366. >Some portions of <TT
  7367. CLASS="FILENAME"
  7368. >/var</TT
  7369. > are not shareable
  7370. between different systems. For instance,
  7371. <TT
  7372. CLASS="FILENAME"
  7373. >/var/log</TT
  7374. >, <TT
  7375. CLASS="FILENAME"
  7376. >/var/lock</TT
  7377. >, and
  7378. <TT
  7379. CLASS="FILENAME"
  7380. >/var/run</TT
  7381. >. Other portions may be shared, notably
  7382. <TT
  7383. CLASS="FILENAME"
  7384. >/var/mail</TT
  7385. >, <TT
  7386. CLASS="FILENAME"
  7387. >/var/cache/man</TT
  7388. >,
  7389. <TT
  7390. CLASS="FILENAME"
  7391. >/var/cache/fonts</TT
  7392. >, and
  7393. <TT
  7394. CLASS="FILENAME"
  7395. >/var/spool/news</TT
  7396. >.</P
  7397. ><P
  7398. ><TT
  7399. CLASS="FILENAME"
  7400. >/var</TT
  7401. > is specified here in order to make it
  7402. possible to mount <TT
  7403. CLASS="FILENAME"
  7404. >/usr</TT
  7405. > read-only. Everything
  7406. that once went into <TT
  7407. CLASS="FILENAME"
  7408. >/usr</TT
  7409. > that is written to
  7410. during system operation (as opposed to installation and software
  7411. maintenance) must be in <TT
  7412. CLASS="FILENAME"
  7413. >/var</TT
  7414. >.</P
  7415. ><P
  7416. >If <TT
  7417. CLASS="FILENAME"
  7418. >/var</TT
  7419. > cannot be made a separate
  7420. partition, it is often preferable to move <TT
  7421. CLASS="FILENAME"
  7422. >/var</TT
  7423. >
  7424. out of the root partition and into the <TT
  7425. CLASS="FILENAME"
  7426. >/usr</TT
  7427. >
  7428. partition. (This is sometimes done to reduce the size of the root
  7429. partition or when space runs low in the root partition.) However,
  7430. <TT
  7431. CLASS="FILENAME"
  7432. >/var</TT
  7433. > must not be linked to
  7434. <TT
  7435. CLASS="FILENAME"
  7436. >/usr</TT
  7437. > because this makes separation of
  7438. <TT
  7439. CLASS="FILENAME"
  7440. >/usr</TT
  7441. > and <TT
  7442. CLASS="FILENAME"
  7443. >/var</TT
  7444. > more difficult
  7445. and is likely to create a naming conflict. Instead, link
  7446. <TT
  7447. CLASS="FILENAME"
  7448. >/var</TT
  7449. > to <TT
  7450. CLASS="FILENAME"
  7451. >/usr/var</TT
  7452. >.</P
  7453. ><P
  7454. >Applications must generally not add directories to the top level
  7455. of <TT
  7456. CLASS="FILENAME"
  7457. >/var</TT
  7458. >. Such directories should only be added
  7459. if they have some system-wide implication, and in consultation with
  7460. the FHS mailing list.</P
  7461. ></DIV
  7462. ><DIV
  7463. CLASS="SECTION"
  7464. ><HR><H2
  7465. CLASS="SECTION"
  7466. ><A
  7467. NAME="REQUIREMENTS12"
  7468. >Requirements</A
  7469. ></H2
  7470. ><P
  7471. >The following directories, or symbolic links to directories, are
  7472. required in <TT
  7473. CLASS="FILENAME"
  7474. >/var</TT
  7475. >.</P
  7476. ><DIV
  7477. CLASS="INFORMALTABLE"
  7478. ><P
  7479. ></P
  7480. ><A
  7481. NAME="AEN2080"
  7482. ></A
  7483. ><TABLE
  7484. BORDER="0"
  7485. FRAME="void"
  7486. CLASS="CALSTABLE"
  7487. ><COL><COL><THEAD
  7488. ><TR
  7489. ><TH
  7490. >Directory</TH
  7491. ><TH
  7492. >Description</TH
  7493. ></TR
  7494. ></THEAD
  7495. ><TBODY
  7496. ><TR
  7497. ><TD
  7498. ><TT
  7499. CLASS="FILENAME"
  7500. >cache</TT
  7501. ></TD
  7502. ><TD
  7503. >Application cache data</TD
  7504. ></TR
  7505. ><TR
  7506. ><TD
  7507. ><TT
  7508. CLASS="FILENAME"
  7509. >lib</TT
  7510. ></TD
  7511. ><TD
  7512. >Variable state information</TD
  7513. ></TR
  7514. ><TR
  7515. ><TD
  7516. ><TT
  7517. CLASS="FILENAME"
  7518. >local</TT
  7519. ></TD
  7520. ><TD
  7521. >Variable data for /usr/local</TD
  7522. ></TR
  7523. ><TR
  7524. ><TD
  7525. ><TT
  7526. CLASS="FILENAME"
  7527. >lock</TT
  7528. ></TD
  7529. ><TD
  7530. >Lock files</TD
  7531. ></TR
  7532. ><TR
  7533. ><TD
  7534. ><TT
  7535. CLASS="FILENAME"
  7536. >log</TT
  7537. ></TD
  7538. ><TD
  7539. >Log files and directories</TD
  7540. ></TR
  7541. ><TR
  7542. ><TD
  7543. ><TT
  7544. CLASS="FILENAME"
  7545. >opt</TT
  7546. ></TD
  7547. ><TD
  7548. >Variable data for /opt</TD
  7549. ></TR
  7550. ><TR
  7551. ><TD
  7552. ><TT
  7553. CLASS="FILENAME"
  7554. >run</TT
  7555. ></TD
  7556. ><TD
  7557. >Data relevant to running processes</TD
  7558. ></TR
  7559. ><TR
  7560. ><TD
  7561. ><TT
  7562. CLASS="FILENAME"
  7563. >spool</TT
  7564. ></TD
  7565. ><TD
  7566. >Application spool data</TD
  7567. ></TR
  7568. ><TR
  7569. ><TD
  7570. ><TT
  7571. CLASS="FILENAME"
  7572. >tmp</TT
  7573. ></TD
  7574. ><TD
  7575. >Temporary files preserved between system reboots</TD
  7576. ></TR
  7577. ></TBODY
  7578. ></TABLE
  7579. ><P
  7580. ></P
  7581. ></DIV
  7582. ><P
  7583. >Several directories are `reserved' in the sense that they must
  7584. not be used arbitrarily by some new application, since they would
  7585. conflict with historical and/or local practice. They are:</P
  7586. ><TABLE
  7587. BORDER="0"
  7588. BGCOLOR="#E0E0E0"
  7589. WIDTH="100%"
  7590. ><TR
  7591. ><TD
  7592. ><PRE
  7593. CLASS="SCREEN"
  7594. > /var/backups
  7595. /var/cron
  7596. /var/msgs
  7597. /var/preserve</PRE
  7598. ></TD
  7599. ></TR
  7600. ></TABLE
  7601. ></DIV
  7602. ><DIV
  7603. CLASS="SECTION"
  7604. ><HR><H2
  7605. CLASS="SECTION"
  7606. ><A
  7607. NAME="SPECIFICOPTIONS20"
  7608. >Specific Options</A
  7609. ></H2
  7610. ><P
  7611. >The following directories, or symbolic links to directories,
  7612. must be in <TT
  7613. CLASS="FILENAME"
  7614. >/var</TT
  7615. >, if the corresponding subsystem
  7616. is installed:</P
  7617. ><DIV
  7618. CLASS="INFORMALTABLE"
  7619. ><P
  7620. ></P
  7621. ><A
  7622. NAME="AEN2129"
  7623. ></A
  7624. ><TABLE
  7625. BORDER="0"
  7626. FRAME="void"
  7627. CLASS="CALSTABLE"
  7628. ><COL><COL><THEAD
  7629. ><TR
  7630. ><TH
  7631. >Directory</TH
  7632. ><TH
  7633. >Description</TH
  7634. ></TR
  7635. ></THEAD
  7636. ><TBODY
  7637. ><TR
  7638. ><TD
  7639. ><TT
  7640. CLASS="FILENAME"
  7641. >account</TT
  7642. ></TD
  7643. ><TD
  7644. >Process accounting logs (optional)</TD
  7645. ></TR
  7646. ><TR
  7647. ><TD
  7648. ><TT
  7649. CLASS="FILENAME"
  7650. >crash</TT
  7651. ></TD
  7652. ><TD
  7653. >System crash dumps (optional)</TD
  7654. ></TR
  7655. ><TR
  7656. ><TD
  7657. ><TT
  7658. CLASS="FILENAME"
  7659. >games</TT
  7660. ></TD
  7661. ><TD
  7662. >Variable game data (optional)</TD
  7663. ></TR
  7664. ><TR
  7665. ><TD
  7666. ><TT
  7667. CLASS="FILENAME"
  7668. >mail</TT
  7669. ></TD
  7670. ><TD
  7671. >User mailbox files (optional)</TD
  7672. ></TR
  7673. ><TR
  7674. ><TD
  7675. ><TT
  7676. CLASS="FILENAME"
  7677. >yp</TT
  7678. ></TD
  7679. ><TD
  7680. >Network Information Service (NIS) database files (optional)
  7681. </TD
  7682. ></TR
  7683. ></TBODY
  7684. ></TABLE
  7685. ><P
  7686. ></P
  7687. ></DIV
  7688. ></DIV
  7689. ><DIV
  7690. CLASS="SECTION"
  7691. ><HR><H2
  7692. CLASS="SECTION"
  7693. ><A
  7694. NAME="VARACCOUNTPROCESSACCOUNTINGLOGS"
  7695. >/var/account : Process accounting logs (optional)</A
  7696. ></H2
  7697. ><DIV
  7698. CLASS="SECTION"
  7699. ><H3
  7700. CLASS="SECTION"
  7701. ><A
  7702. NAME="PURPOSE32"
  7703. >Purpose</A
  7704. ></H3
  7705. ><P
  7706. >This directory holds the current active process accounting log
  7707. and the composite process usage data (as used in some UNIX-like
  7708. systems by <B
  7709. CLASS="COMMAND"
  7710. >lastcomm</B
  7711. > and
  7712. <B
  7713. CLASS="COMMAND"
  7714. >sa</B
  7715. >).</P
  7716. ></DIV
  7717. ></DIV
  7718. ><DIV
  7719. CLASS="SECTION"
  7720. ><HR><H2
  7721. CLASS="SECTION"
  7722. ><A
  7723. NAME="VARCACHEAPPLICATIONCACHEDATA"
  7724. >/var/cache : Application cache data</A
  7725. ></H2
  7726. ><DIV
  7727. CLASS="SECTION"
  7728. ><H3
  7729. CLASS="SECTION"
  7730. ><A
  7731. NAME="PURPOSE33"
  7732. >Purpose</A
  7733. ></H3
  7734. ><P
  7735. ><TT
  7736. CLASS="FILENAME"
  7737. >/var/cache</TT
  7738. > is intended for cached data from
  7739. applications. Such data is locally generated as a result of
  7740. time-consuming I/O or calculation. The application must be able to
  7741. regenerate or restore the data. Unlike
  7742. <TT
  7743. CLASS="FILENAME"
  7744. >/var/spool</TT
  7745. >, the cached files can be deleted
  7746. without data loss. The data must remain valid between invocations of
  7747. the application and rebooting the system.</P
  7748. ><P
  7749. >Files located under <TT
  7750. CLASS="FILENAME"
  7751. >/var/cache</TT
  7752. > may be
  7753. expired in an application specific manner, by the system
  7754. administrator, or both. The application must always be able to
  7755. recover from manual deletion of these files (generally because of a
  7756. disk space shortage). No other requirements are made on the data
  7757. format of the cache directories.</P
  7758. ><DIV
  7759. CLASS="TIP"
  7760. ><P
  7761. ></P
  7762. ><TABLE
  7763. CLASS="TIP"
  7764. WIDTH="100%"
  7765. BORDER="0"
  7766. ><TR
  7767. ><TD
  7768. WIDTH="25"
  7769. ALIGN="CENTER"
  7770. VALIGN="TOP"
  7771. ><IMG
  7772. SRC="tip.gif"
  7773. HSPACE="5"
  7774. ALT="Tip"></TD
  7775. ><TH
  7776. ALIGN="LEFT"
  7777. VALIGN="CENTER"
  7778. ><B
  7779. >Rationale</B
  7780. ></TH
  7781. ></TR
  7782. ><TR
  7783. ><TD
  7784. >&nbsp;</TD
  7785. ><TD
  7786. ALIGN="LEFT"
  7787. VALIGN="TOP"
  7788. ><P
  7789. >The existence of a separate directory for cached data allows
  7790. system administrators to set different disk and backup policies from
  7791. other directories in <TT
  7792. CLASS="FILENAME"
  7793. >/var</TT
  7794. >.&#13;</P
  7795. ></TD
  7796. ></TR
  7797. ></TABLE
  7798. ></DIV
  7799. ></DIV
  7800. ><DIV
  7801. CLASS="SECTION"
  7802. ><HR><H3
  7803. CLASS="SECTION"
  7804. ><A
  7805. NAME="SPECIFICOPTIONS21"
  7806. >Specific Options</A
  7807. ></H3
  7808. ><DIV
  7809. CLASS="INFORMALTABLE"
  7810. ><P
  7811. ></P
  7812. ><A
  7813. NAME="AEN2178"
  7814. ></A
  7815. ><TABLE
  7816. BORDER="0"
  7817. FRAME="void"
  7818. CLASS="CALSTABLE"
  7819. ><COL><COL><THEAD
  7820. ><TR
  7821. ><TH
  7822. >Directory</TH
  7823. ><TH
  7824. >Description</TH
  7825. ></TR
  7826. ></THEAD
  7827. ><TBODY
  7828. ><TR
  7829. ><TD
  7830. ><TT
  7831. CLASS="FILENAME"
  7832. >fonts</TT
  7833. ></TD
  7834. ><TD
  7835. >Locally-generated fonts (optional)</TD
  7836. ></TR
  7837. ><TR
  7838. ><TD
  7839. ><TT
  7840. CLASS="FILENAME"
  7841. >man</TT
  7842. ></TD
  7843. ><TD
  7844. >Locally-formatted manual pages (optional)</TD
  7845. ></TR
  7846. ><TR
  7847. ><TD
  7848. ><TT
  7849. CLASS="FILENAME"
  7850. >www</TT
  7851. ></TD
  7852. ><TD
  7853. >WWW proxy or cache data (optional)</TD
  7854. ></TR
  7855. ><TR
  7856. ><TD
  7857. ><TT
  7858. CLASS="FILENAME"
  7859. >&lt;package&gt;</TT
  7860. ></TD
  7861. ><TD
  7862. >Package specific cache data (optional)</TD
  7863. ></TR
  7864. ></TBODY
  7865. ></TABLE
  7866. ><P
  7867. ></P
  7868. ></DIV
  7869. ></DIV
  7870. ><DIV
  7871. CLASS="SECTION"
  7872. ><HR><H3
  7873. CLASS="SECTION"
  7874. ><A
  7875. NAME="VARCACHEFONTSLOCALLYGENERATEDFONTS"
  7876. >/var/cache/fonts : Locally-generated fonts (optional)</A
  7877. ></H3
  7878. ><DIV
  7879. CLASS="SECTION"
  7880. ><H4
  7881. CLASS="SECTION"
  7882. ><A
  7883. NAME="PURPOSE34"
  7884. >Purpose</A
  7885. ></H4
  7886. ><P
  7887. >The directory <TT
  7888. CLASS="FILENAME"
  7889. >/var/cache/fonts</TT
  7890. > should be used to store any
  7891. dynamically-created fonts. In particular, all of the fonts which are
  7892. automatically generated by <B
  7893. CLASS="COMMAND"
  7894. >mktexpk</B
  7895. > must be located in
  7896. appropriately-named subdirectories of <TT
  7897. CLASS="FILENAME"
  7898. >/var/cache/fonts</TT
  7899. >.
  7900. <A
  7901. NAME="AEN2209"
  7902. HREF="#FTN.AEN2209"
  7903. ><SPAN
  7904. CLASS="footnote"
  7905. >[36]</SPAN
  7906. ></A
  7907. ></P
  7908. ></DIV
  7909. ><DIV
  7910. CLASS="SECTION"
  7911. ><HR><H4
  7912. CLASS="SECTION"
  7913. ><A
  7914. NAME="SPECIFICOPTIONS22"
  7915. >Specific Options</A
  7916. ></H4
  7917. ><P
  7918. >Other dynamically created fonts may also be placed in this tree,
  7919. under appropriately-named subdirectories of
  7920. <TT
  7921. CLASS="FILENAME"
  7922. >/var/cache/fonts</TT
  7923. >.</P
  7924. ></DIV
  7925. ></DIV
  7926. ><DIV
  7927. CLASS="SECTION"
  7928. ><HR><H3
  7929. CLASS="SECTION"
  7930. ><A
  7931. NAME="VARCACHEMANLOCALLYFORMATTEDMANUALPAG"
  7932. >/var/cache/man : Locally-formatted manual pages (optional)</A
  7933. ></H3
  7934. ><DIV
  7935. CLASS="SECTION"
  7936. ><H4
  7937. CLASS="SECTION"
  7938. ><A
  7939. NAME="PURPOSE35"
  7940. >Purpose</A
  7941. ></H4
  7942. ><P
  7943. >This directory provides a standard location for sites that provide a
  7944. read-only <TT
  7945. CLASS="FILENAME"
  7946. >/usr</TT
  7947. > partition, but wish to allow caching of
  7948. locally-formatted man pages. Sites that mount <TT
  7949. CLASS="FILENAME"
  7950. >/usr</TT
  7951. > as writable
  7952. (e.g., single-user installations) may choose not to use
  7953. <TT
  7954. CLASS="FILENAME"
  7955. >/var/cache/man</TT
  7956. > and may write formatted man pages into the
  7957. <TT
  7958. CLASS="FILENAME"
  7959. >cat&lt;section&gt;</TT
  7960. > directories in <TT
  7961. CLASS="FILENAME"
  7962. >/usr/share/man</TT
  7963. > directly. We
  7964. recommend that most sites use one of the following options instead:</P
  7965. ><P
  7966. ></P
  7967. ><UL
  7968. ><LI
  7969. STYLE="list-style-type: disc"
  7970. ><P
  7971. >Preformat all manual pages alongside the unformatted versions.</P
  7972. ></LI
  7973. ><LI
  7974. STYLE="list-style-type: disc"
  7975. ><P
  7976. >Allow no caching of formatted man pages, and require formatting to be
  7977. done each time a man page is brought up.</P
  7978. ></LI
  7979. ><LI
  7980. STYLE="list-style-type: disc"
  7981. ><P
  7982. >Allow local caching of formatted man pages in <TT
  7983. CLASS="FILENAME"
  7984. >/var/cache/man</TT
  7985. >.</P
  7986. ></LI
  7987. ></UL
  7988. ><P
  7989. >The structure of <TT
  7990. CLASS="FILENAME"
  7991. >/var/cache/man</TT
  7992. > needs to
  7993. reflect both the fact of multiple man page hierarchies and the
  7994. possibility of multiple language support.</P
  7995. ><P
  7996. >Given an unformatted manual page that normally appears in
  7997. <TT
  7998. CLASS="FILENAME"
  7999. >&lt;path&gt;/man/&lt;locale&gt;/man&lt;section&gt;</TT
  8000. >,
  8001. the directory to place formatted man pages in is
  8002. <TT
  8003. CLASS="FILENAME"
  8004. >/var/cache/man/&lt;catpath&gt;/&lt;locale&gt;/cat&lt;section&gt;</TT
  8005. >,
  8006. where <TT
  8007. CLASS="FILENAME"
  8008. >&lt;catpath&gt;</TT
  8009. > is derived from
  8010. <TT
  8011. CLASS="FILENAME"
  8012. >&lt;path&gt;</TT
  8013. > by removing any leading
  8014. <TT
  8015. CLASS="FILENAME"
  8016. >usr</TT
  8017. > and/or trailing <TT
  8018. CLASS="FILENAME"
  8019. >share</TT
  8020. >
  8021. pathname components. (Note that the
  8022. <TT
  8023. CLASS="FILENAME"
  8024. >&lt;locale&gt;</TT
  8025. > component may be missing.)
  8026. <A
  8027. NAME="AEN2244"
  8028. HREF="#FTN.AEN2244"
  8029. ><SPAN
  8030. CLASS="footnote"
  8031. >[37]</SPAN
  8032. ></A
  8033. ></P
  8034. ><P
  8035. >Man pages written to <TT
  8036. CLASS="FILENAME"
  8037. >/var/cache/man</TT
  8038. > may
  8039. eventually be transferred to the appropriate preformatted directories
  8040. in the source <TT
  8041. CLASS="FILENAME"
  8042. >man</TT
  8043. > hierarchy or expired; likewise
  8044. formatted man pages in the source <TT
  8045. CLASS="FILENAME"
  8046. >man</TT
  8047. > hierarchy
  8048. may be expired if they are not accessed for a period of time.</P
  8049. ><P
  8050. >If preformatted manual pages come with a system on read-only
  8051. media (a CD-ROM, for instance), they must be installed in the source
  8052. <TT
  8053. CLASS="FILENAME"
  8054. >man</TT
  8055. > hierarchy
  8056. (e.g. <TT
  8057. CLASS="FILENAME"
  8058. >/usr/share/man/cat&lt;section&gt;</TT
  8059. >).
  8060. <TT
  8061. CLASS="FILENAME"
  8062. >/var/cache/man</TT
  8063. > is reserved as a writable cache
  8064. for formatted manual pages.</P
  8065. ><DIV
  8066. CLASS="TIP"
  8067. ><P
  8068. ></P
  8069. ><TABLE
  8070. CLASS="TIP"
  8071. WIDTH="100%"
  8072. BORDER="0"
  8073. ><TR
  8074. ><TD
  8075. WIDTH="25"
  8076. ALIGN="CENTER"
  8077. VALIGN="TOP"
  8078. ><IMG
  8079. SRC="tip.gif"
  8080. HSPACE="5"
  8081. ALT="Tip"></TD
  8082. ><TH
  8083. ALIGN="LEFT"
  8084. VALIGN="CENTER"
  8085. ><B
  8086. >Rationale</B
  8087. ></TH
  8088. ></TR
  8089. ><TR
  8090. ><TD
  8091. >&nbsp;</TD
  8092. ><TD
  8093. ALIGN="LEFT"
  8094. VALIGN="TOP"
  8095. ><P
  8096. >Release 1.2 of the standard specified
  8097. <TT
  8098. CLASS="FILENAME"
  8099. >/var/catman</TT
  8100. > for this hierarchy. The path has
  8101. been moved under <TT
  8102. CLASS="FILENAME"
  8103. >/var/cache</TT
  8104. > to better reflect the
  8105. dynamic nature of the formatted man pages. The directory name has
  8106. been changed to <TT
  8107. CLASS="FILENAME"
  8108. >man</TT
  8109. > to allow for enhancing the
  8110. hierarchy to include post-processed formats other than "cat", such as
  8111. PostScript, HTML, or DVI.&#13;</P
  8112. ></TD
  8113. ></TR
  8114. ></TABLE
  8115. ></DIV
  8116. ></DIV
  8117. ></DIV
  8118. ></DIV
  8119. ><DIV
  8120. CLASS="SECTION"
  8121. ><HR><H2
  8122. CLASS="SECTION"
  8123. ><A
  8124. NAME="VARCRASHSYSTEMCRASHDUMPS"
  8125. >/var/crash : System crash dumps (optional)</A
  8126. ></H2
  8127. ><DIV
  8128. CLASS="SECTION"
  8129. ><H3
  8130. CLASS="SECTION"
  8131. ><A
  8132. NAME="PURPOSE36"
  8133. >Purpose</A
  8134. ></H3
  8135. ><P
  8136. >This directory holds system crash dumps. As of the date of this
  8137. release of the standard, system crash dumps were not supported under
  8138. Linux but may be supported by other systems which may comply with the
  8139. FHS.</P
  8140. ></DIV
  8141. ></DIV
  8142. ><DIV
  8143. CLASS="SECTION"
  8144. ><HR><H2
  8145. CLASS="SECTION"
  8146. ><A
  8147. NAME="VARGAMESVARIABLEGAMEDATA"
  8148. >/var/games : Variable game data (optional)</A
  8149. ></H2
  8150. ><DIV
  8151. CLASS="SECTION"
  8152. ><H3
  8153. CLASS="SECTION"
  8154. ><A
  8155. NAME="PURPOSE37"
  8156. >Purpose</A
  8157. ></H3
  8158. ><P
  8159. >Any variable data relating to games in <TT
  8160. CLASS="FILENAME"
  8161. >/usr</TT
  8162. >
  8163. should be placed here. <TT
  8164. CLASS="FILENAME"
  8165. >/var/games</TT
  8166. > should hold
  8167. the variable data previously found in <TT
  8168. CLASS="FILENAME"
  8169. >/usr</TT
  8170. >;
  8171. static data, such as help text, level descriptions, and so on, must
  8172. remain elsewhere, such as
  8173. <TT
  8174. CLASS="FILENAME"
  8175. >/usr/share/games</TT
  8176. >.</P
  8177. ><DIV
  8178. CLASS="TIP"
  8179. ><P
  8180. ></P
  8181. ><TABLE
  8182. CLASS="TIP"
  8183. WIDTH="100%"
  8184. BORDER="0"
  8185. ><TR
  8186. ><TD
  8187. WIDTH="25"
  8188. ALIGN="CENTER"
  8189. VALIGN="TOP"
  8190. ><IMG
  8191. SRC="tip.gif"
  8192. HSPACE="5"
  8193. ALT="Tip"></TD
  8194. ><TH
  8195. ALIGN="LEFT"
  8196. VALIGN="CENTER"
  8197. ><B
  8198. >Rationale</B
  8199. ></TH
  8200. ></TR
  8201. ><TR
  8202. ><TD
  8203. >&nbsp;</TD
  8204. ><TD
  8205. ALIGN="LEFT"
  8206. VALIGN="TOP"
  8207. ><P
  8208. ><TT
  8209. CLASS="FILENAME"
  8210. >/var/games</TT
  8211. > has been given a hierarchy of
  8212. its own, rather than leaving it merged in with the old
  8213. <TT
  8214. CLASS="FILENAME"
  8215. >/var/lib</TT
  8216. > as in release 1.2. The separation
  8217. allows local control of backup strategies, permissions, and disk
  8218. usage, as well as allowing inter-host sharing and reducing clutter in
  8219. <TT
  8220. CLASS="FILENAME"
  8221. >/var/lib</TT
  8222. >. Additionally,
  8223. <TT
  8224. CLASS="FILENAME"
  8225. >/var/games</TT
  8226. > is the path traditionally used by BSD.&#13;</P
  8227. ></TD
  8228. ></TR
  8229. ></TABLE
  8230. ></DIV
  8231. ></DIV
  8232. ></DIV
  8233. ><DIV
  8234. CLASS="SECTION"
  8235. ><HR><H2
  8236. CLASS="SECTION"
  8237. ><A
  8238. NAME="VARLIBVARIABLESTATEINFORMATION"
  8239. >/var/lib : Variable state information</A
  8240. ></H2
  8241. ><DIV
  8242. CLASS="SECTION"
  8243. ><H3
  8244. CLASS="SECTION"
  8245. ><A
  8246. NAME="PURPOSE38"
  8247. >Purpose</A
  8248. ></H3
  8249. ><P
  8250. >This hierarchy holds state information pertaining to an
  8251. application or the system. State information is data that programs
  8252. modify while they run, and that pertains to one specific host. Users
  8253. must never need to modify files in <TT
  8254. CLASS="FILENAME"
  8255. >/var/lib</TT
  8256. > to
  8257. configure a package's operation.</P
  8258. ><P
  8259. >State information is generally used to preserve the condition of
  8260. an application (or a group of inter-related applications) between
  8261. invocations and between different instances of the same application.
  8262. State information should generally remain valid after a reboot, should
  8263. not be logging output, and should not be spooled data.</P
  8264. ><P
  8265. >An application (or a group of inter-related applications) must
  8266. use a subdirectory of <TT
  8267. CLASS="FILENAME"
  8268. >/var/lib</TT
  8269. > for its data.
  8270. There is one required subdirectory,
  8271. <TT
  8272. CLASS="FILENAME"
  8273. >/var/lib/misc</TT
  8274. >, which is intended for state files
  8275. that don't need a subdirectory; the other subdirectories should only
  8276. be present if the application in question is included in the
  8277. distribution.
  8278. <A
  8279. NAME="AEN2295"
  8280. HREF="#FTN.AEN2295"
  8281. ><SPAN
  8282. CLASS="footnote"
  8283. >[38]</SPAN
  8284. ></A
  8285. ></P
  8286. ><P
  8287. ><TT
  8288. CLASS="FILENAME"
  8289. >/var/lib/&lt;name&gt;</TT
  8290. > is the location that
  8291. must be used for all distribution packaging support. Different
  8292. distributions may use different names, of course.</P
  8293. ></DIV
  8294. ><DIV
  8295. CLASS="SECTION"
  8296. ><HR><H3
  8297. CLASS="SECTION"
  8298. ><A
  8299. NAME="REQUIREMENTS13"
  8300. >Requirements</A
  8301. ></H3
  8302. ><P
  8303. >The following directories, or symbolic links to directories, are
  8304. required in <TT
  8305. CLASS="FILENAME"
  8306. >/var/lib</TT
  8307. >:</P
  8308. ><DIV
  8309. CLASS="INFORMALTABLE"
  8310. ><P
  8311. ></P
  8312. ><A
  8313. NAME="AEN2305"
  8314. ></A
  8315. ><TABLE
  8316. BORDER="0"
  8317. FRAME="void"
  8318. CLASS="CALSTABLE"
  8319. ><COL><COL><THEAD
  8320. ><TR
  8321. ><TH
  8322. >Directory</TH
  8323. ><TH
  8324. >Description</TH
  8325. ></TR
  8326. ></THEAD
  8327. ><TBODY
  8328. ><TR
  8329. ><TD
  8330. ><TT
  8331. CLASS="FILENAME"
  8332. >misc</TT
  8333. ></TD
  8334. ><TD
  8335. >Miscellaneous state data</TD
  8336. ></TR
  8337. ></TBODY
  8338. ></TABLE
  8339. ><P
  8340. ></P
  8341. ></DIV
  8342. ></DIV
  8343. ><DIV
  8344. CLASS="SECTION"
  8345. ><HR><H3
  8346. CLASS="SECTION"
  8347. ><A
  8348. NAME="SPECIFICOPTIONS23"
  8349. >Specific Options</A
  8350. ></H3
  8351. ><P
  8352. >The following directories, or symbolic links to directories, must be in <TT
  8353. CLASS="FILENAME"
  8354. >/var/lib</TT
  8355. >, if the
  8356. corresponding subsystem is installed:</P
  8357. ><DIV
  8358. CLASS="INFORMALTABLE"
  8359. ><P
  8360. ></P
  8361. ><A
  8362. NAME="AEN2320"
  8363. ></A
  8364. ><TABLE
  8365. BORDER="0"
  8366. FRAME="void"
  8367. CLASS="CALSTABLE"
  8368. ><COL><COL><THEAD
  8369. ><TR
  8370. ><TH
  8371. >Directory</TH
  8372. ><TH
  8373. >Description</TH
  8374. ></TR
  8375. ></THEAD
  8376. ><TBODY
  8377. ><TR
  8378. ><TD
  8379. >&lt;editor&gt;</TD
  8380. ><TD
  8381. >Editor backup files and state (optional)</TD
  8382. ></TR
  8383. ><TR
  8384. ><TD
  8385. >&lt;pkgtool&gt;</TD
  8386. ><TD
  8387. >Packaging support files (optional)</TD
  8388. ></TR
  8389. ><TR
  8390. ><TD
  8391. >&lt;package&gt;</TD
  8392. ><TD
  8393. >State data for packages and subsystems (optional)</TD
  8394. ></TR
  8395. ><TR
  8396. ><TD
  8397. ><B
  8398. CLASS="COMMAND"
  8399. >hwclock</B
  8400. ></TD
  8401. ><TD
  8402. >State directory for hwclock (optional)</TD
  8403. ></TR
  8404. ><TR
  8405. ><TD
  8406. ><B
  8407. CLASS="COMMAND"
  8408. >xdm</B
  8409. ></TD
  8410. ><TD
  8411. >X display manager variable data (optional)</TD
  8412. ></TR
  8413. ></TBODY
  8414. ></TABLE
  8415. ><P
  8416. ></P
  8417. ></DIV
  8418. ></DIV
  8419. ><DIV
  8420. CLASS="SECTION"
  8421. ><HR><H3
  8422. CLASS="SECTION"
  8423. ><A
  8424. NAME="VARLIBLTEDITORGTEDITORBACKUPFILESAN"
  8425. >/var/lib/&lt;editor&gt; : Editor backup files and state (optional)</A
  8426. ></H3
  8427. ><DIV
  8428. CLASS="SECTION"
  8429. ><H4
  8430. CLASS="SECTION"
  8431. ><A
  8432. NAME="PURPOSE39"
  8433. >Purpose</A
  8434. ></H4
  8435. ><P
  8436. >These directories contain saved files generated by any
  8437. unexpected termination of an editor (e.g., <B
  8438. CLASS="COMMAND"
  8439. >elvis</B
  8440. >,
  8441. <B
  8442. CLASS="COMMAND"
  8443. >jove</B
  8444. >, <B
  8445. CLASS="COMMAND"
  8446. >nvi</B
  8447. >).</P
  8448. ><P
  8449. >Other editors may not require a directory for crash-recovery
  8450. files, but may require a well-defined place to store other information
  8451. while the editor is running. This information should be stored in a
  8452. subdirectory under <TT
  8453. CLASS="FILENAME"
  8454. >/var/lib</TT
  8455. > (for example, GNU
  8456. Emacs would place lock files in
  8457. <TT
  8458. CLASS="FILENAME"
  8459. >/var/lib/emacs/lock</TT
  8460. >).</P
  8461. ><P
  8462. >Future editors may require additional state information beyond
  8463. crash-recovery files and lock files &mdash; this information should
  8464. also be placed under
  8465. <TT
  8466. CLASS="FILENAME"
  8467. >/var/lib/&lt;editor&gt;</TT
  8468. >.</P
  8469. ><DIV
  8470. CLASS="TIP"
  8471. ><P
  8472. ></P
  8473. ><TABLE
  8474. CLASS="TIP"
  8475. WIDTH="100%"
  8476. BORDER="0"
  8477. ><TR
  8478. ><TD
  8479. WIDTH="25"
  8480. ALIGN="CENTER"
  8481. VALIGN="TOP"
  8482. ><IMG
  8483. SRC="tip.gif"
  8484. HSPACE="5"
  8485. ALT="Tip"></TD
  8486. ><TH
  8487. ALIGN="LEFT"
  8488. VALIGN="CENTER"
  8489. ><B
  8490. >Rationale</B
  8491. ></TH
  8492. ></TR
  8493. ><TR
  8494. ><TD
  8495. >&nbsp;</TD
  8496. ><TD
  8497. ALIGN="LEFT"
  8498. VALIGN="TOP"
  8499. ><P
  8500. >Previous Linux releases, as well as all commercial vendors, use
  8501. <TT
  8502. CLASS="FILENAME"
  8503. >/var/preserve</TT
  8504. > for vi or its clones. However,
  8505. each editor uses its own format for these crash-recovery files, so a
  8506. separate directory is needed for each editor.</P
  8507. ><P
  8508. >Editor-specific lock files are usually quite different from the
  8509. device or resource lock files that are stored in
  8510. <TT
  8511. CLASS="FILENAME"
  8512. >/var/lock</TT
  8513. > and, hence, are stored under
  8514. <TT
  8515. CLASS="FILENAME"
  8516. >/var/lib</TT
  8517. >.&#13;</P
  8518. ></TD
  8519. ></TR
  8520. ></TABLE
  8521. ></DIV
  8522. ></DIV
  8523. ></DIV
  8524. ><DIV
  8525. CLASS="SECTION"
  8526. ><HR><H3
  8527. CLASS="SECTION"
  8528. ><A
  8529. NAME="VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO"
  8530. >/var/lib/hwclock : State directory for hwclock (optional)</A
  8531. ></H3
  8532. ><DIV
  8533. CLASS="SECTION"
  8534. ><H4
  8535. CLASS="SECTION"
  8536. ><A
  8537. NAME="PURPOSE40"
  8538. >Purpose</A
  8539. ></H4
  8540. ><P
  8541. >This directory contains the file
  8542. <TT
  8543. CLASS="FILENAME"
  8544. >/var/lib/hwclock/adjtime</TT
  8545. >.</P
  8546. ><DIV
  8547. CLASS="TIP"
  8548. ><P
  8549. ></P
  8550. ><TABLE
  8551. CLASS="TIP"
  8552. WIDTH="100%"
  8553. BORDER="0"
  8554. ><TR
  8555. ><TD
  8556. WIDTH="25"
  8557. ALIGN="CENTER"
  8558. VALIGN="TOP"
  8559. ><IMG
  8560. SRC="tip.gif"
  8561. HSPACE="5"
  8562. ALT="Tip"></TD
  8563. ><TH
  8564. ALIGN="LEFT"
  8565. VALIGN="CENTER"
  8566. ><B
  8567. >Rationale</B
  8568. ></TH
  8569. ></TR
  8570. ><TR
  8571. ><TD
  8572. >&nbsp;</TD
  8573. ><TD
  8574. ALIGN="LEFT"
  8575. VALIGN="TOP"
  8576. ><P
  8577. >In FHS 2.1, this file was <TT
  8578. CLASS="FILENAME"
  8579. >/etc/adjtime</TT
  8580. >, but
  8581. as <B
  8582. CLASS="COMMAND"
  8583. >hwclock</B
  8584. > updates it, that was obviously
  8585. incorrect.&#13;</P
  8586. ></TD
  8587. ></TR
  8588. ></TABLE
  8589. ></DIV
  8590. ></DIV
  8591. ></DIV
  8592. ><DIV
  8593. CLASS="SECTION"
  8594. ><HR><H3
  8595. CLASS="SECTION"
  8596. ><A
  8597. NAME="VARLIBMISCMISCELLANEOUSVARIABLEDATA"
  8598. >/var/lib/misc : Miscellaneous variable data</A
  8599. ></H3
  8600. ><DIV
  8601. CLASS="SECTION"
  8602. ><H4
  8603. CLASS="SECTION"
  8604. ><A
  8605. NAME="PURPOSE41"
  8606. >Purpose</A
  8607. ></H4
  8608. ><P
  8609. >This directory contains variable data not placed in a
  8610. subdirectory in <TT
  8611. CLASS="FILENAME"
  8612. >/var/lib</TT
  8613. >. An attempt should be
  8614. made to use relatively unique names in this directory to avoid
  8615. namespace conflicts.
  8616. <A
  8617. NAME="AEN2381"
  8618. HREF="#FTN.AEN2381"
  8619. ><SPAN
  8620. CLASS="footnote"
  8621. >[39]</SPAN
  8622. ></A
  8623. ></P
  8624. ></DIV
  8625. ></DIV
  8626. ></DIV
  8627. ><DIV
  8628. CLASS="SECTION"
  8629. ><HR><H2
  8630. CLASS="SECTION"
  8631. ><A
  8632. NAME="VARLOCKLOCKFILES"
  8633. >/var/lock : Lock files</A
  8634. ></H2
  8635. ><DIV
  8636. CLASS="SECTION"
  8637. ><H3
  8638. CLASS="SECTION"
  8639. ><A
  8640. NAME="PURPOSE42"
  8641. >Purpose</A
  8642. ></H3
  8643. ><P
  8644. >Lock files should be stored within the
  8645. <TT
  8646. CLASS="FILENAME"
  8647. >/var/lock</TT
  8648. > directory structure.</P
  8649. ><P
  8650. >Lock files for devices and other resources shared by multiple
  8651. applications, such as the serial device lock files that were
  8652. originally found in either <TT
  8653. CLASS="FILENAME"
  8654. >/usr/spool/locks</TT
  8655. > or
  8656. <TT
  8657. CLASS="FILENAME"
  8658. >/usr/spool/uucp</TT
  8659. >, must now be stored in
  8660. <TT
  8661. CLASS="FILENAME"
  8662. >/var/lock</TT
  8663. >. The naming convention which must be
  8664. used is "LCK.." followed by the base name of the device. For example,
  8665. to lock /dev/ttyS0 the file "LCK..ttyS0" would be created.
  8666. <A
  8667. NAME="AEN2396"
  8668. HREF="#FTN.AEN2396"
  8669. ><SPAN
  8670. CLASS="footnote"
  8671. >[40]</SPAN
  8672. ></A
  8673. ></P
  8674. ><P
  8675. >The format used for the contents of such lock files must be the
  8676. HDB UUCP lock file format. The HDB format is to store the process
  8677. identifier (PID) as a ten byte ASCII decimal number, with a trailing
  8678. newline. For example, if process 1230 holds a lock file, it would
  8679. contain the eleven characters: space, space, space, space, space,
  8680. space, one, two, three, zero, and newline.</P
  8681. ></DIV
  8682. ></DIV
  8683. ><DIV
  8684. CLASS="SECTION"
  8685. ><HR><H2
  8686. CLASS="SECTION"
  8687. ><A
  8688. NAME="VARLOGLOGFILESANDDIRECTORIES"
  8689. >/var/log : Log files and directories</A
  8690. ></H2
  8691. ><DIV
  8692. CLASS="SECTION"
  8693. ><H3
  8694. CLASS="SECTION"
  8695. ><A
  8696. NAME="PURPOSE43"
  8697. >Purpose</A
  8698. ></H3
  8699. ><P
  8700. >This directory contains miscellaneous log files. Most logs must
  8701. be written to this directory or an appropriate subdirectory.</P
  8702. ></DIV
  8703. ><DIV
  8704. CLASS="SECTION"
  8705. ><HR><H3
  8706. CLASS="SECTION"
  8707. ><A
  8708. NAME="SPECIFICOPTIONS24"
  8709. >Specific Options</A
  8710. ></H3
  8711. ><P
  8712. >The following files, or symbolic links to files, must be in
  8713. <TT
  8714. CLASS="FILENAME"
  8715. >/var/log</TT
  8716. >, if the corresponding subsystem is
  8717. installed:</P
  8718. ><DIV
  8719. CLASS="INFORMALTABLE"
  8720. ><P
  8721. ></P
  8722. ><A
  8723. NAME="AEN2410"
  8724. ></A
  8725. ><TABLE
  8726. BORDER="0"
  8727. FRAME="void"
  8728. CLASS="CALSTABLE"
  8729. ><COL><COL><THEAD
  8730. ><TR
  8731. ><TH
  8732. >File</TH
  8733. ><TH
  8734. >Description</TH
  8735. ></TR
  8736. ></THEAD
  8737. ><TBODY
  8738. ><TR
  8739. ><TD
  8740. ><TT
  8741. CLASS="FILENAME"
  8742. >lastlog</TT
  8743. ></TD
  8744. ><TD
  8745. >record of last login of each user</TD
  8746. ></TR
  8747. ><TR
  8748. ><TD
  8749. ><TT
  8750. CLASS="FILENAME"
  8751. >messages</TT
  8752. ></TD
  8753. ><TD
  8754. >system messages from <B
  8755. CLASS="COMMAND"
  8756. >syslogd</B
  8757. ></TD
  8758. ></TR
  8759. ><TR
  8760. ><TD
  8761. ><TT
  8762. CLASS="FILENAME"
  8763. >wtmp</TT
  8764. ></TD
  8765. ><TD
  8766. >record of all logins and logouts</TD
  8767. ></TR
  8768. ></TBODY
  8769. ></TABLE
  8770. ><P
  8771. ></P
  8772. ></DIV
  8773. ></DIV
  8774. ></DIV
  8775. ><DIV
  8776. CLASS="SECTION"
  8777. ><HR><H2
  8778. CLASS="SECTION"
  8779. ><A
  8780. NAME="VARMAILUSERMAILBOXFILES"
  8781. >/var/mail : User mailbox files (optional)</A
  8782. ></H2
  8783. ><DIV
  8784. CLASS="SECTION"
  8785. ><H3
  8786. CLASS="SECTION"
  8787. ><A
  8788. NAME="PURPOSE44"
  8789. >Purpose</A
  8790. ></H3
  8791. ><P
  8792. >The mail spool must be accessible through
  8793. <TT
  8794. CLASS="FILENAME"
  8795. >/var/mail</TT
  8796. > and the mail spool files must take the
  8797. form <TT
  8798. CLASS="FILENAME"
  8799. >&lt;username&gt;</TT
  8800. >.
  8801. <A
  8802. NAME="AEN2437"
  8803. HREF="#FTN.AEN2437"
  8804. ><SPAN
  8805. CLASS="footnote"
  8806. >[41]</SPAN
  8807. ></A
  8808. ></P
  8809. ><P
  8810. >User mailbox files in this location must be stored in the standard
  8811. UNIX mailbox format.</P
  8812. ><DIV
  8813. CLASS="TIP"
  8814. ><P
  8815. ></P
  8816. ><TABLE
  8817. CLASS="TIP"
  8818. WIDTH="100%"
  8819. BORDER="0"
  8820. ><TR
  8821. ><TD
  8822. WIDTH="25"
  8823. ALIGN="CENTER"
  8824. VALIGN="TOP"
  8825. ><IMG
  8826. SRC="tip.gif"
  8827. HSPACE="5"
  8828. ALT="Tip"></TD
  8829. ><TH
  8830. ALIGN="LEFT"
  8831. VALIGN="CENTER"
  8832. ><B
  8833. >Rationale</B
  8834. ></TH
  8835. ></TR
  8836. ><TR
  8837. ><TD
  8838. >&nbsp;</TD
  8839. ><TD
  8840. ALIGN="LEFT"
  8841. VALIGN="TOP"
  8842. ><P
  8843. >The logical location for this directory was changed from
  8844. <TT
  8845. CLASS="FILENAME"
  8846. >/var/spool/mail</TT
  8847. > in order to bring FHS in-line
  8848. with nearly every UNIX implementation. This change is important for
  8849. inter-operability since a single <TT
  8850. CLASS="FILENAME"
  8851. >/var/mail</TT
  8852. > is
  8853. often shared between multiple hosts and multiple UNIX implementations
  8854. (despite NFS locking issues).</P
  8855. ><P
  8856. >It is important to note that there is no requirement to
  8857. physically move the mail spool to this location. However, programs
  8858. and header files must be changed to use
  8859. <TT
  8860. CLASS="FILENAME"
  8861. >/var/mail</TT
  8862. >.&#13;</P
  8863. ></TD
  8864. ></TR
  8865. ></TABLE
  8866. ></DIV
  8867. ></DIV
  8868. ></DIV
  8869. ><DIV
  8870. CLASS="SECTION"
  8871. ><HR><H2
  8872. CLASS="SECTION"
  8873. ><A
  8874. NAME="VAROPTVARIABLEDATAFOROPT"
  8875. >/var/opt : Variable data for /opt</A
  8876. ></H2
  8877. ><DIV
  8878. CLASS="SECTION"
  8879. ><H3
  8880. CLASS="SECTION"
  8881. ><A
  8882. NAME="PURPOSE45"
  8883. >Purpose</A
  8884. ></H3
  8885. ><P
  8886. >Variable data of the packages in <TT
  8887. CLASS="FILENAME"
  8888. >/opt</TT
  8889. > must
  8890. be installed in <TT
  8891. CLASS="FILENAME"
  8892. >/var/opt/&lt;subdir&gt;</TT
  8893. >, where
  8894. <TT
  8895. CLASS="FILENAME"
  8896. >&lt;subdir&gt;</TT
  8897. > is the name of the subtree in
  8898. <TT
  8899. CLASS="FILENAME"
  8900. >/opt</TT
  8901. > where the static data from an add-on
  8902. software package is stored, except where superseded by another file in
  8903. <TT
  8904. CLASS="FILENAME"
  8905. >/etc</TT
  8906. >. No structure is imposed on the internal
  8907. arrangement of <TT
  8908. CLASS="FILENAME"
  8909. >/var/opt/&lt;subdir&gt;</TT
  8910. >.</P
  8911. ><DIV
  8912. CLASS="TIP"
  8913. ><P
  8914. ></P
  8915. ><TABLE
  8916. CLASS="TIP"
  8917. WIDTH="100%"
  8918. BORDER="0"
  8919. ><TR
  8920. ><TD
  8921. WIDTH="25"
  8922. ALIGN="CENTER"
  8923. VALIGN="TOP"
  8924. ><IMG
  8925. SRC="tip.gif"
  8926. HSPACE="5"
  8927. ALT="Tip"></TD
  8928. ><TH
  8929. ALIGN="LEFT"
  8930. VALIGN="CENTER"
  8931. ><B
  8932. >Rationale</B
  8933. ></TH
  8934. ></TR
  8935. ><TR
  8936. ><TD
  8937. >&nbsp;</TD
  8938. ><TD
  8939. ALIGN="LEFT"
  8940. VALIGN="TOP"
  8941. ><P
  8942. >Refer to the rationale for <TT
  8943. CLASS="FILENAME"
  8944. >/opt</TT
  8945. >.&#13;</P
  8946. ></TD
  8947. ></TR
  8948. ></TABLE
  8949. ></DIV
  8950. ></DIV
  8951. ></DIV
  8952. ><DIV
  8953. CLASS="SECTION"
  8954. ><HR><H2
  8955. CLASS="SECTION"
  8956. ><A
  8957. NAME="VARRUNRUNTIMEVARIABLEDATA"
  8958. >/var/run : Run-time variable data</A
  8959. ></H2
  8960. ><DIV
  8961. CLASS="SECTION"
  8962. ><H3
  8963. CLASS="SECTION"
  8964. ><A
  8965. NAME="PURPOSE46"
  8966. >Purpose</A
  8967. ></H3
  8968. ><P
  8969. >This directory contains system information data describing the
  8970. system since it was booted. Files under this directory must be
  8971. cleared (removed or truncated as appropriate) at the beginning of the
  8972. boot process. Programs may have a subdirectory of
  8973. <TT
  8974. CLASS="FILENAME"
  8975. >/var/run</TT
  8976. >; this is encouraged for programs that
  8977. use more than one run-time file.
  8978. <A
  8979. NAME="AEN2469"
  8980. HREF="#FTN.AEN2469"
  8981. ><SPAN
  8982. CLASS="footnote"
  8983. >[42]</SPAN
  8984. ></A
  8985. >
  8986. Process identifier (PID) files, which were originally placed in
  8987. <TT
  8988. CLASS="FILENAME"
  8989. >/etc</TT
  8990. >, must be placed in
  8991. <TT
  8992. CLASS="FILENAME"
  8993. >/var/run</TT
  8994. >. The naming convention for PID files is
  8995. <TT
  8996. CLASS="FILENAME"
  8997. >&lt;program-name&gt;.pid</TT
  8998. >. For example, the
  8999. <B
  9000. CLASS="COMMAND"
  9001. >crond</B
  9002. > PID file is named
  9003. <TT
  9004. CLASS="FILENAME"
  9005. >/var/run/crond.pid</TT
  9006. >.</P
  9007. ></DIV
  9008. ><DIV
  9009. CLASS="SECTION"
  9010. ><HR><H3
  9011. CLASS="SECTION"
  9012. ><A
  9013. NAME="REQUIREMENTS14"
  9014. >Requirements</A
  9015. ></H3
  9016. ><P
  9017. >The internal format of PID files remains unchanged. The file
  9018. must consist of the process identifier in ASCII-encoded decimal,
  9019. followed by a newline character. For example, if
  9020. <B
  9021. CLASS="COMMAND"
  9022. >crond</B
  9023. > was process number 25,
  9024. <TT
  9025. CLASS="FILENAME"
  9026. >/var/run/crond.pid</TT
  9027. > would contain three
  9028. characters: two, five, and newline.</P
  9029. ><P
  9030. >Programs that read PID files should be somewhat flexible in what
  9031. they accept; i.e., they should ignore extra whitespace, leading
  9032. zeroes, absence of the trailing newline, or additional lines in the
  9033. PID file. Programs that create PID files should use the simple
  9034. specification located in the above paragraph.</P
  9035. ><P
  9036. >The <TT
  9037. CLASS="FILENAME"
  9038. >utmp</TT
  9039. > file, which stores information
  9040. about who is currently using the system, is located in this
  9041. directory.</P
  9042. ><P
  9043. >System programs that maintain transient UNIX-domain sockets must place
  9044. them in this directory.</P
  9045. ></DIV
  9046. ></DIV
  9047. ><DIV
  9048. CLASS="SECTION"
  9049. ><HR><H2
  9050. CLASS="SECTION"
  9051. ><A
  9052. NAME="VARSPOOLAPPLICATIONSPOOLDATA"
  9053. >/var/spool : Application spool data</A
  9054. ></H2
  9055. ><DIV
  9056. CLASS="SECTION"
  9057. ><H3
  9058. CLASS="SECTION"
  9059. ><A
  9060. NAME="PURPOSE47"
  9061. >Purpose</A
  9062. ></H3
  9063. ><P
  9064. ><TT
  9065. CLASS="FILENAME"
  9066. >/var/spool</TT
  9067. > contains data which is awaiting
  9068. some kind of later processing. Data in
  9069. <TT
  9070. CLASS="FILENAME"
  9071. >/var/spool</TT
  9072. > represents work to be done in the
  9073. future (by a program, user, or administrator); often data is deleted
  9074. after it has been processed.
  9075. <A
  9076. NAME="AEN2493"
  9077. HREF="#FTN.AEN2493"
  9078. ><SPAN
  9079. CLASS="footnote"
  9080. >[43]</SPAN
  9081. ></A
  9082. ></P
  9083. ></DIV
  9084. ><DIV
  9085. CLASS="SECTION"
  9086. ><HR><H3
  9087. CLASS="SECTION"
  9088. ><A
  9089. NAME="SPECIFICOPTIONS25"
  9090. >Specific Options</A
  9091. ></H3
  9092. ><P
  9093. >The following directories, or symbolic links to directories,
  9094. must be in <TT
  9095. CLASS="FILENAME"
  9096. >/var/spool</TT
  9097. >, if the corresponding
  9098. subsystem is installed:</P
  9099. ><DIV
  9100. CLASS="INFORMALTABLE"
  9101. ><P
  9102. ></P
  9103. ><A
  9104. NAME="AEN2501"
  9105. ></A
  9106. ><TABLE
  9107. BORDER="0"
  9108. FRAME="void"
  9109. CLASS="CALSTABLE"
  9110. ><COL><COL><THEAD
  9111. ><TR
  9112. ><TH
  9113. >Directory</TH
  9114. ><TH
  9115. >Description</TH
  9116. ></TR
  9117. ></THEAD
  9118. ><TBODY
  9119. ><TR
  9120. ><TD
  9121. ><TT
  9122. CLASS="FILENAME"
  9123. >lpd</TT
  9124. ></TD
  9125. ><TD
  9126. >Printer spool directory (optional)</TD
  9127. ></TR
  9128. ><TR
  9129. ><TD
  9130. ><TT
  9131. CLASS="FILENAME"
  9132. >mqueue</TT
  9133. ></TD
  9134. ><TD
  9135. >Outgoing mail queue (optional)</TD
  9136. ></TR
  9137. ><TR
  9138. ><TD
  9139. ><TT
  9140. CLASS="FILENAME"
  9141. >news</TT
  9142. ></TD
  9143. ><TD
  9144. >News spool directory (optional)</TD
  9145. ></TR
  9146. ><TR
  9147. ><TD
  9148. ><TT
  9149. CLASS="FILENAME"
  9150. >rwho</TT
  9151. ></TD
  9152. ><TD
  9153. >Rwhod files (optional)</TD
  9154. ></TR
  9155. ><TR
  9156. ><TD
  9157. ><TT
  9158. CLASS="FILENAME"
  9159. >uucp</TT
  9160. ></TD
  9161. ><TD
  9162. >Spool directory for UUCP (optional)</TD
  9163. ></TR
  9164. ></TBODY
  9165. ></TABLE
  9166. ><P
  9167. ></P
  9168. ></DIV
  9169. ></DIV
  9170. ><DIV
  9171. CLASS="SECTION"
  9172. ><HR><H3
  9173. CLASS="SECTION"
  9174. ><A
  9175. NAME="VARSPOOLLPDLINEPRINTERDAEMONPRINTQU"
  9176. >/var/spool/lpd : Line-printer daemon print queues (optional)</A
  9177. ></H3
  9178. ><DIV
  9179. CLASS="SECTION"
  9180. ><H4
  9181. CLASS="SECTION"
  9182. ><A
  9183. NAME="PURPOSE48"
  9184. >Purpose</A
  9185. ></H4
  9186. ><P
  9187. >The lock file for <B
  9188. CLASS="COMMAND"
  9189. >lpd</B
  9190. >,
  9191. <TT
  9192. CLASS="FILENAME"
  9193. >lpd.lock</TT
  9194. >, must be placed in
  9195. <TT
  9196. CLASS="FILENAME"
  9197. >/var/spool/lpd</TT
  9198. >. It is suggested that the lock
  9199. file for each printer be placed in the spool directory for that
  9200. specific printer and named <TT
  9201. CLASS="FILENAME"
  9202. >lock</TT
  9203. >.</P
  9204. ></DIV
  9205. ><DIV
  9206. CLASS="SECTION"
  9207. ><HR><H4
  9208. CLASS="SECTION"
  9209. ><A
  9210. NAME="SPECIFICOPTIONS26"
  9211. >Specific Options</A
  9212. ></H4
  9213. ><DIV
  9214. CLASS="INFORMALTABLE"
  9215. ><P
  9216. ></P
  9217. ><A
  9218. NAME="AEN2539"
  9219. ></A
  9220. ><TABLE
  9221. BORDER="0"
  9222. FRAME="void"
  9223. CLASS="CALSTABLE"
  9224. ><COL><COL><THEAD
  9225. ><TR
  9226. ><TH
  9227. >Directory</TH
  9228. ><TH
  9229. >Description</TH
  9230. ></TR
  9231. ></THEAD
  9232. ><TBODY
  9233. ><TR
  9234. ><TD
  9235. ><TT
  9236. CLASS="FILENAME"
  9237. >printer</TT
  9238. ></TD
  9239. ><TD
  9240. >Spools for a specific printer (optional)</TD
  9241. ></TR
  9242. ></TBODY
  9243. ></TABLE
  9244. ><P
  9245. ></P
  9246. ></DIV
  9247. ></DIV
  9248. ></DIV
  9249. ><DIV
  9250. CLASS="SECTION"
  9251. ><HR><H3
  9252. CLASS="SECTION"
  9253. ><A
  9254. NAME="VARSPOOLRWHORWHODFILES"
  9255. >/var/spool/rwho : Rwhod files (optional)</A
  9256. ></H3
  9257. ><DIV
  9258. CLASS="SECTION"
  9259. ><H4
  9260. CLASS="SECTION"
  9261. ><A
  9262. NAME="PURPOSE49"
  9263. >Purpose</A
  9264. ></H4
  9265. ><P
  9266. >This directory holds the <B
  9267. CLASS="COMMAND"
  9268. >rwhod</B
  9269. > information
  9270. for other systems on the local net.</P
  9271. ><DIV
  9272. CLASS="TIP"
  9273. ><P
  9274. ></P
  9275. ><TABLE
  9276. CLASS="TIP"
  9277. WIDTH="100%"
  9278. BORDER="0"
  9279. ><TR
  9280. ><TD
  9281. WIDTH="25"
  9282. ALIGN="CENTER"
  9283. VALIGN="TOP"
  9284. ><IMG
  9285. SRC="tip.gif"
  9286. HSPACE="5"
  9287. ALT="Tip"></TD
  9288. ><TH
  9289. ALIGN="LEFT"
  9290. VALIGN="CENTER"
  9291. ><B
  9292. >Rationale</B
  9293. ></TH
  9294. ></TR
  9295. ><TR
  9296. ><TD
  9297. >&nbsp;</TD
  9298. ><TD
  9299. ALIGN="LEFT"
  9300. VALIGN="TOP"
  9301. ><P
  9302. >Some BSD releases use <TT
  9303. CLASS="FILENAME"
  9304. >/var/rwho</TT
  9305. > for this
  9306. data; given its historical location in <TT
  9307. CLASS="FILENAME"
  9308. >/var/spool</TT
  9309. >
  9310. on other systems and its approximate fit to the definition of
  9311. `spooled' data, this location was deemed more appropriate.</P
  9312. ></TD
  9313. ></TR
  9314. ></TABLE
  9315. ></DIV
  9316. ></DIV
  9317. ></DIV
  9318. ></DIV
  9319. ><DIV
  9320. CLASS="SECTION"
  9321. ><HR><H2
  9322. CLASS="SECTION"
  9323. ><A
  9324. NAME="VARTMPTEMPORARYFILESPRESERVEDBETWEE"
  9325. >/var/tmp : Temporary files preserved between system reboots</A
  9326. ></H2
  9327. ><DIV
  9328. CLASS="SECTION"
  9329. ><H3
  9330. CLASS="SECTION"
  9331. ><A
  9332. NAME="PURPOSE50"
  9333. >Purpose</A
  9334. ></H3
  9335. ><P
  9336. >The <TT
  9337. CLASS="FILENAME"
  9338. >/var/tmp</TT
  9339. > directory is made available
  9340. for programs that require temporary files or directories that are
  9341. preserved between system reboots. Therefore, data stored in
  9342. <TT
  9343. CLASS="FILENAME"
  9344. >/var/tmp</TT
  9345. > is more persistent than data in
  9346. <TT
  9347. CLASS="FILENAME"
  9348. >/tmp</TT
  9349. >.</P
  9350. ><P
  9351. >Files and directories located in <TT
  9352. CLASS="FILENAME"
  9353. >/var/tmp</TT
  9354. >
  9355. must not be deleted when the system is booted. Although data stored
  9356. in <TT
  9357. CLASS="FILENAME"
  9358. >/var/tmp</TT
  9359. > is typically deleted in a
  9360. site-specific manner, it is recommended that deletions occur at a less
  9361. frequent interval than <TT
  9362. CLASS="FILENAME"
  9363. >/tmp</TT
  9364. >.</P
  9365. ></DIV
  9366. ></DIV
  9367. ><DIV
  9368. CLASS="SECTION"
  9369. ><HR><H2
  9370. CLASS="SECTION"
  9371. ><A
  9372. NAME="VARYPNETWORKINFORMATIONSERVICE"
  9373. >/var/yp : Network Information Service (NIS) database files (optional)</A
  9374. ></H2
  9375. ><DIV
  9376. CLASS="SECTION"
  9377. ><H3
  9378. CLASS="SECTION"
  9379. ><A
  9380. NAME="PURPOSE51"
  9381. >Purpose</A
  9382. ></H3
  9383. ><P
  9384. >Variable data for the Network Information Service (NIS),
  9385. formerly known as the Sun Yellow Pages (YP), must be placed in this
  9386. directory.</P
  9387. ><DIV
  9388. CLASS="TIP"
  9389. ><P
  9390. ></P
  9391. ><TABLE
  9392. CLASS="TIP"
  9393. WIDTH="100%"
  9394. BORDER="0"
  9395. ><TR
  9396. ><TD
  9397. WIDTH="25"
  9398. ALIGN="CENTER"
  9399. VALIGN="TOP"
  9400. ><IMG
  9401. SRC="tip.gif"
  9402. HSPACE="5"
  9403. ALT="Tip"></TD
  9404. ><TH
  9405. ALIGN="LEFT"
  9406. VALIGN="CENTER"
  9407. ><B
  9408. >Rationale</B
  9409. ></TH
  9410. ></TR
  9411. ><TR
  9412. ><TD
  9413. >&nbsp;</TD
  9414. ><TD
  9415. ALIGN="LEFT"
  9416. VALIGN="TOP"
  9417. ><P
  9418. ><TT
  9419. CLASS="FILENAME"
  9420. >/var/yp</TT
  9421. > is the standard directory for NIS
  9422. (YP) data and is almost exclusively used in NIS documentation and
  9423. systems.
  9424. <A
  9425. NAME="AEN2582"
  9426. HREF="#FTN.AEN2582"
  9427. ><SPAN
  9428. CLASS="footnote"
  9429. >[44]</SPAN
  9430. ></A
  9431. ></P
  9432. ></TD
  9433. ></TR
  9434. ></TABLE
  9435. ></DIV
  9436. ></DIV
  9437. ></DIV
  9438. ></DIV
  9439. ><DIV
  9440. CLASS="CHAPTER"
  9441. ><HR><H1
  9442. ><A
  9443. NAME="OPERATINGSYSTEMSPECIFICANNEX"
  9444. ></A
  9445. >Chapter 6. Operating System Specific Annex</H1
  9446. ><P
  9447. >This section is for additional requirements and recommendations
  9448. that only apply to a specific operating system. The material in this
  9449. section should never conflict with the base standard.</P
  9450. ><DIV
  9451. CLASS="SECTION"
  9452. ><HR><H2
  9453. CLASS="SECTION"
  9454. ><A
  9455. NAME="LINUX"
  9456. >Linux</A
  9457. ></H2
  9458. ><P
  9459. >This is the annex for the Linux operating system.</P
  9460. ><DIV
  9461. CLASS="SECTION"
  9462. ><HR><H3
  9463. CLASS="SECTION"
  9464. ><A
  9465. NAME="ROOTDIRECTORY"
  9466. >/ : Root directory</A
  9467. ></H3
  9468. ><P
  9469. >On Linux systems, if the kernel is located in
  9470. <TT
  9471. CLASS="FILENAME"
  9472. >/</TT
  9473. >, we recommend using the names
  9474. <TT
  9475. CLASS="FILENAME"
  9476. >vmlinux</TT
  9477. > or <TT
  9478. CLASS="FILENAME"
  9479. >vmlinuz</TT
  9480. >, which
  9481. have been used in recent Linux kernel source packages.</P
  9482. ></DIV
  9483. ><DIV
  9484. CLASS="SECTION"
  9485. ><HR><H3
  9486. CLASS="SECTION"
  9487. ><A
  9488. NAME="BINESSENTIALUSERCOMMANDBINARIES2"
  9489. >/bin : Essential user command binaries (for use by all users)</A
  9490. ></H3
  9491. ><P
  9492. >Linux systems which require them place these additional files into
  9493. <TT
  9494. CLASS="FILENAME"
  9495. >/bin</TT
  9496. >:</P
  9497. ><P
  9498. ></P
  9499. ><UL
  9500. ><LI
  9501. ><P
  9502. ><B
  9503. CLASS="COMMAND"
  9504. >setserial</B
  9505. ></P
  9506. ></LI
  9507. ></UL
  9508. ></DIV
  9509. ><DIV
  9510. CLASS="SECTION"
  9511. ><HR><H3
  9512. CLASS="SECTION"
  9513. ><A
  9514. NAME="DEVDEVICESANDSPECIALFILES"
  9515. >/dev : Devices and special files</A
  9516. ></H3
  9517. ><P
  9518. >The following devices must exist under /dev.
  9519. <P
  9520. ></P
  9521. ><DIV
  9522. CLASS="VARIABLELIST"
  9523. ><DL
  9524. ><DT
  9525. ><TT
  9526. CLASS="FILENAME"
  9527. >/dev/null</TT
  9528. ></DT
  9529. ><DD
  9530. ><P
  9531. >All data written to this device is discarded. A read from this device
  9532. will return an EOF condition.</P
  9533. ></DD
  9534. ><DT
  9535. ><TT
  9536. CLASS="FILENAME"
  9537. >/dev/zero</TT
  9538. ></DT
  9539. ><DD
  9540. ><P
  9541. >This device is a source of zeroed out data. All data written to this
  9542. device is discarded. A read from this device will return as many bytes
  9543. containing the value zero as was requested.</P
  9544. ></DD
  9545. ><DT
  9546. ><TT
  9547. CLASS="FILENAME"
  9548. >/dev/tty</TT
  9549. ></DT
  9550. ><DD
  9551. ><P
  9552. >This device is a synonym for the controlling terminal of a
  9553. process. Once this device is opened, all reads and writes will behave
  9554. as if the actual controlling terminal device had been opened.</P
  9555. ></DD
  9556. ></DL
  9557. ></DIV
  9558. >
  9559. <DIV
  9560. CLASS="TIP"
  9561. ><P
  9562. ></P
  9563. ><TABLE
  9564. CLASS="TIP"
  9565. WIDTH="100%"
  9566. BORDER="0"
  9567. ><TR
  9568. ><TD
  9569. WIDTH="25"
  9570. ALIGN="CENTER"
  9571. VALIGN="TOP"
  9572. ><IMG
  9573. SRC="tip.gif"
  9574. HSPACE="5"
  9575. ALT="Tip"></TD
  9576. ><TH
  9577. ALIGN="LEFT"
  9578. VALIGN="CENTER"
  9579. ><B
  9580. >Rationale</B
  9581. ></TH
  9582. ></TR
  9583. ><TR
  9584. ><TD
  9585. >&nbsp;</TD
  9586. ><TD
  9587. ALIGN="LEFT"
  9588. VALIGN="TOP"
  9589. ><P
  9590. >Previous versions of the FHS had stricter requirements for
  9591. <TT
  9592. CLASS="FILENAME"
  9593. >/dev</TT
  9594. >. Other devices may also exist in
  9595. /dev. Device names may exist as symbolic links to other device nodes
  9596. located in /dev or subdirectories of /dev. There is no requirement
  9597. concerning major/minor number values.</P
  9598. ></TD
  9599. ></TR
  9600. ></TABLE
  9601. ></DIV
  9602. >&#13;</P
  9603. ></DIV
  9604. ><DIV
  9605. CLASS="SECTION"
  9606. ><HR><H3
  9607. CLASS="SECTION"
  9608. ><A
  9609. NAME="ETCHOSTSPECIFICSYSTEMCONFIGURATION2"
  9610. >/etc : Host-specific system configuration</A
  9611. ></H3
  9612. ><P
  9613. >Linux systems which require them place these additional files into
  9614. <TT
  9615. CLASS="FILENAME"
  9616. >/etc</TT
  9617. >.</P
  9618. ><P
  9619. ></P
  9620. ><UL
  9621. ><LI
  9622. ><P
  9623. ><TT
  9624. CLASS="FILENAME"
  9625. >lilo.conf</TT
  9626. ></P
  9627. ></LI
  9628. ></UL
  9629. ></DIV
  9630. ><DIV
  9631. CLASS="SECTION"
  9632. ><HR><H3
  9633. CLASS="SECTION"
  9634. ><A
  9635. NAME="LIB64"
  9636. >/lib64 and /lib32 : 64/32-bit libraries (architecture dependent)</A
  9637. ></H3
  9638. ><P
  9639. >&#13;The 64-bit architectures PPC64, s390x, sparc64 and AMD64 must place
  9640. 64-bit libraries in <TT
  9641. CLASS="FILENAME"
  9642. >/lib64</TT
  9643. >, and 32-bit
  9644. (or 31-bit on s390) libraries in <TT
  9645. CLASS="FILENAME"
  9646. >/lib</TT
  9647. >.</P
  9648. ><P
  9649. >The 64-bit architecture IA64 must place 64-bit libraries in
  9650. <TT
  9651. CLASS="FILENAME"
  9652. >/lib</TT
  9653. >.
  9654. <DIV
  9655. CLASS="TIP"
  9656. ><P
  9657. ></P
  9658. ><TABLE
  9659. CLASS="TIP"
  9660. WIDTH="100%"
  9661. BORDER="0"
  9662. ><TR
  9663. ><TD
  9664. WIDTH="25"
  9665. ALIGN="CENTER"
  9666. VALIGN="TOP"
  9667. ><IMG
  9668. SRC="tip.gif"
  9669. HSPACE="5"
  9670. ALT="Tip"></TD
  9671. ><TH
  9672. ALIGN="LEFT"
  9673. VALIGN="CENTER"
  9674. ><B
  9675. >Rationale</B
  9676. ></TH
  9677. ></TR
  9678. ><TR
  9679. ><TD
  9680. >&nbsp;</TD
  9681. ><TD
  9682. ALIGN="LEFT"
  9683. VALIGN="TOP"
  9684. ><P
  9685. >This is a refinement of the general rules for
  9686. <TT
  9687. CLASS="FILENAME"
  9688. >/lib&lt;qual&gt;</TT
  9689. > and
  9690. <TT
  9691. CLASS="FILENAME"
  9692. >/usr/lib&lt;qual&gt;</TT
  9693. >. The architectures PPC64,
  9694. s390x, sparc64 and AMD64 support support both 32-bit (for s390 more
  9695. precise 31-bit) and 64-bit programs. Using <TT
  9696. CLASS="FILENAME"
  9697. >lib</TT
  9698. >
  9699. for 32-bit binaries allows existing binaries from the 32-bit systems
  9700. to work without any changes: such binaries are expected to be numerous.
  9701. IA-64 uses a different scheme, reflecting the deprecation of 32-bit
  9702. binaries (and hence libraries) on that architecture.</P
  9703. ></TD
  9704. ></TR
  9705. ></TABLE
  9706. ></DIV
  9707. ></P
  9708. ></DIV
  9709. ><DIV
  9710. CLASS="SECTION"
  9711. ><HR><H3
  9712. CLASS="SECTION"
  9713. ><A
  9714. NAME="PROCKERNELANDPROCESSINFORMATIONVIR"
  9715. >/proc : Kernel and process information virtual filesystem</A
  9716. ></H3
  9717. ><P
  9718. >The <TT
  9719. CLASS="FILENAME"
  9720. >proc</TT
  9721. > filesystem is the de-facto
  9722. standard Linux method for handling process and system information,
  9723. rather than <TT
  9724. CLASS="FILENAME"
  9725. >/dev/kmem</TT
  9726. > and other similar methods.
  9727. We strongly encourage this for the storage and retrieval of process
  9728. information as well as other kernel and memory information.</P
  9729. ></DIV
  9730. ><DIV
  9731. CLASS="SECTION"
  9732. ><HR><H3
  9733. CLASS="SECTION"
  9734. ><A
  9735. NAME="SBINESSENTIALSYSTEMBINARIES"
  9736. >/sbin : Essential system binaries</A
  9737. ></H3
  9738. ><P
  9739. >Linux systems place these additional files into <TT
  9740. CLASS="FILENAME"
  9741. >/sbin</TT
  9742. >.</P
  9743. ><P
  9744. ></P
  9745. ><UL
  9746. ><LI
  9747. STYLE="list-style-type: disc"
  9748. ><P
  9749. >Second extended filesystem commands (optional):</P
  9750. ><P
  9751. ></P
  9752. ><UL
  9753. ><LI
  9754. STYLE="list-style-type: disc"
  9755. ><P
  9756. ><B
  9757. CLASS="COMMAND"
  9758. >badblocks</B
  9759. ></P
  9760. ></LI
  9761. ><LI
  9762. STYLE="list-style-type: disc"
  9763. ><P
  9764. ><B
  9765. CLASS="COMMAND"
  9766. >dumpe2fs</B
  9767. ></P
  9768. ></LI
  9769. ><LI
  9770. STYLE="list-style-type: disc"
  9771. ><P
  9772. ><B
  9773. CLASS="COMMAND"
  9774. >e2fsck</B
  9775. ></P
  9776. ></LI
  9777. ><LI
  9778. STYLE="list-style-type: disc"
  9779. ><P
  9780. ><B
  9781. CLASS="COMMAND"
  9782. >mke2fs</B
  9783. ></P
  9784. ></LI
  9785. ><LI
  9786. STYLE="list-style-type: disc"
  9787. ><P
  9788. ><B
  9789. CLASS="COMMAND"
  9790. >mklost+found</B
  9791. ></P
  9792. ></LI
  9793. ><LI
  9794. STYLE="list-style-type: disc"
  9795. ><P
  9796. ><B
  9797. CLASS="COMMAND"
  9798. >tune2fs</B
  9799. ></P
  9800. ></LI
  9801. ></UL
  9802. ></LI
  9803. ><LI
  9804. STYLE="list-style-type: disc"
  9805. ><P
  9806. >Boot-loader map installer (optional):</P
  9807. ><P
  9808. ></P
  9809. ><UL
  9810. ><LI
  9811. STYLE="list-style-type: disc"
  9812. ><P
  9813. ><B
  9814. CLASS="COMMAND"
  9815. >lilo</B
  9816. ></P
  9817. ></LI
  9818. ></UL
  9819. ></LI
  9820. ></UL
  9821. ><P
  9822. >Optional files for /sbin:</P
  9823. ><P
  9824. ></P
  9825. ><UL
  9826. ><LI
  9827. STYLE="list-style-type: disc"
  9828. ><P
  9829. >Static binaries:</P
  9830. ><P
  9831. ></P
  9832. ><UL
  9833. ><LI
  9834. STYLE="list-style-type: disc"
  9835. ><P
  9836. ><B
  9837. CLASS="COMMAND"
  9838. >ldconfig</B
  9839. ></P
  9840. ></LI
  9841. ><LI
  9842. STYLE="list-style-type: disc"
  9843. ><P
  9844. ><B
  9845. CLASS="COMMAND"
  9846. >sln</B
  9847. ></P
  9848. ></LI
  9849. ><LI
  9850. STYLE="list-style-type: disc"
  9851. ><P
  9852. ><B
  9853. CLASS="COMMAND"
  9854. >ssync</B
  9855. ></P
  9856. ></LI
  9857. ></UL
  9858. ><P
  9859. >Static <B
  9860. CLASS="COMMAND"
  9861. >ln</B
  9862. > (<B
  9863. CLASS="COMMAND"
  9864. >sln</B
  9865. >) and
  9866. static <B
  9867. CLASS="COMMAND"
  9868. >sync</B
  9869. > (<B
  9870. CLASS="COMMAND"
  9871. >ssync</B
  9872. >) are
  9873. useful when things go wrong. The primary use of
  9874. <B
  9875. CLASS="COMMAND"
  9876. >sln</B
  9877. > (to repair incorrect symlinks in
  9878. <TT
  9879. CLASS="FILENAME"
  9880. >/lib</TT
  9881. > after a poorly orchestrated upgrade) is no
  9882. longer a major concern now that the <B
  9883. CLASS="COMMAND"
  9884. >ldconfig</B
  9885. >
  9886. program (usually located in <TT
  9887. CLASS="FILENAME"
  9888. >/usr/sbin</TT
  9889. >) exists and
  9890. can act as a guiding hand in upgrading the dynamic libraries. Static
  9891. <B
  9892. CLASS="COMMAND"
  9893. >sync</B
  9894. > is useful in some emergency situations.
  9895. Note that these need not be statically linked versions of the standard
  9896. <B
  9897. CLASS="COMMAND"
  9898. >ln</B
  9899. > and <B
  9900. CLASS="COMMAND"
  9901. >sync</B
  9902. >, but may
  9903. be.</P
  9904. ><P
  9905. >The <B
  9906. CLASS="COMMAND"
  9907. >ldconfig</B
  9908. > binary is optional for
  9909. <TT
  9910. CLASS="FILENAME"
  9911. >/sbin</TT
  9912. > since a site may choose to run
  9913. <B
  9914. CLASS="COMMAND"
  9915. >ldconfig</B
  9916. > at boot time, rather than only when
  9917. upgrading the shared libraries. (It's not clear whether or not it is
  9918. advantageous to run <B
  9919. CLASS="COMMAND"
  9920. >ldconfig</B
  9921. > on each boot.) Even
  9922. so, some people like <B
  9923. CLASS="COMMAND"
  9924. >ldconfig</B
  9925. > around for the
  9926. following (all too common) situation:</P
  9927. ><P
  9928. ></P
  9929. ><OL
  9930. TYPE="1"
  9931. ><LI
  9932. STYLE="list-style-type: disc"
  9933. ><P
  9934. >I've just removed <TT
  9935. CLASS="FILENAME"
  9936. >/lib/&lt;file&gt;</TT
  9937. >.</P
  9938. ></LI
  9939. ><LI
  9940. STYLE="list-style-type: disc"
  9941. ><P
  9942. >I can't find out the name of the library because <B
  9943. CLASS="COMMAND"
  9944. >ls</B
  9945. > is
  9946. dynamically linked, I'm using a shell that doesn't have <B
  9947. CLASS="COMMAND"
  9948. >ls</B
  9949. >
  9950. built-in, and I don't know about using "<B
  9951. CLASS="COMMAND"
  9952. >echo *</B
  9953. >" as a
  9954. replacement.</P
  9955. ></LI
  9956. ><LI
  9957. STYLE="list-style-type: disc"
  9958. ><P
  9959. >I have a static <B
  9960. CLASS="COMMAND"
  9961. >sln</B
  9962. >, but I don't know what to call the link.</P
  9963. ></LI
  9964. ></OL
  9965. ></LI
  9966. ><LI
  9967. STYLE="list-style-type: disc"
  9968. ><P
  9969. >Miscellaneous:</P
  9970. ><P
  9971. ></P
  9972. ><UL
  9973. ><LI
  9974. STYLE="list-style-type: disc"
  9975. ><P
  9976. ><B
  9977. CLASS="COMMAND"
  9978. >ctrlaltdel</B
  9979. ></P
  9980. ></LI
  9981. ><LI
  9982. STYLE="list-style-type: disc"
  9983. ><P
  9984. ><B
  9985. CLASS="COMMAND"
  9986. >kbdrate</B
  9987. ></P
  9988. ></LI
  9989. ></UL
  9990. ><P
  9991. >So as to cope with the fact that some keyboards come up with
  9992. such a high repeat rate as to be unusable,
  9993. <B
  9994. CLASS="COMMAND"
  9995. >kbdrate</B
  9996. > may be installed in
  9997. <TT
  9998. CLASS="FILENAME"
  9999. >/sbin</TT
  10000. > on some systems.</P
  10001. ><P
  10002. >Since the default action in the kernel for the Ctrl-Alt-Del key
  10003. combination is an instant hard reboot, it is generally advisable to
  10004. disable the behavior before mounting the root filesystem in read-write
  10005. mode. Some <B
  10006. CLASS="COMMAND"
  10007. >init</B
  10008. > suites are able to disable
  10009. Ctrl-Alt-Del, but others may require the
  10010. <B
  10011. CLASS="COMMAND"
  10012. >ctrlaltdel</B
  10013. > program, which may be installed in
  10014. <TT
  10015. CLASS="FILENAME"
  10016. >/sbin</TT
  10017. > on those systems.</P
  10018. ></LI
  10019. ></UL
  10020. ></DIV
  10021. ><DIV
  10022. CLASS="SECTION"
  10023. ><HR><H3
  10024. CLASS="SECTION"
  10025. ><A
  10026. NAME="USRINCLUDEHEADERFILESINCLUDEDBYCP"
  10027. >/usr/include : Header files included by C programs</A
  10028. ></H3
  10029. ><P
  10030. >These symbolic links are required if a C or C++ compiler is
  10031. installed and only for systems not based on glibc.</P
  10032. ><TABLE
  10033. BORDER="0"
  10034. BGCOLOR="#E0E0E0"
  10035. WIDTH="100%"
  10036. ><TR
  10037. ><TD
  10038. ><PRE
  10039. CLASS="SCREEN"
  10040. > /usr/include/asm -&gt; /usr/src/linux/include/asm-&lt;arch&gt;
  10041. /usr/include/linux -&gt; /usr/src/linux/include/linux</PRE
  10042. ></TD
  10043. ></TR
  10044. ></TABLE
  10045. ></DIV
  10046. ><DIV
  10047. CLASS="SECTION"
  10048. ><HR><H3
  10049. CLASS="SECTION"
  10050. ><A
  10051. NAME="USRSRCSOURCECODE2"
  10052. >/usr/src : Source code</A
  10053. ></H3
  10054. ><P
  10055. >For systems based on glibc, there are no specific guidelines for
  10056. this directory. For systems based on Linux libc revisions prior to
  10057. glibc, the following guidelines and rationale apply:</P
  10058. ><P
  10059. >The only source code that should be placed in a specific
  10060. location is the Linux kernel source code. It is located in
  10061. <TT
  10062. CLASS="FILENAME"
  10063. >/usr/src/linux</TT
  10064. >.</P
  10065. ><P
  10066. >If a C or C++ compiler is installed, but the complete Linux
  10067. kernel source code is not installed, then the include files from the
  10068. kernel source code must be located in these directories:</P
  10069. ><TABLE
  10070. BORDER="0"
  10071. BGCOLOR="#E0E0E0"
  10072. WIDTH="100%"
  10073. ><TR
  10074. ><TD
  10075. ><PRE
  10076. CLASS="SCREEN"
  10077. > /usr/src/linux/include/asm-&lt;arch&gt;
  10078. /usr/src/linux/include/linux</PRE
  10079. ></TD
  10080. ></TR
  10081. ></TABLE
  10082. ><P
  10083. ><TT
  10084. CLASS="FILENAME"
  10085. >&lt;arch&gt;</TT
  10086. > is the name of the system
  10087. architecture.</P
  10088. ><DIV
  10089. CLASS="NOTE"
  10090. ><P
  10091. ></P
  10092. ><TABLE
  10093. CLASS="NOTE"
  10094. WIDTH="100%"
  10095. BORDER="0"
  10096. ><TR
  10097. ><TD
  10098. WIDTH="25"
  10099. ALIGN="CENTER"
  10100. VALIGN="TOP"
  10101. ><IMG
  10102. SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif"
  10103. HSPACE="5"
  10104. ALT="Note"></TD
  10105. ><TH
  10106. ALIGN="LEFT"
  10107. VALIGN="CENTER"
  10108. ><B
  10109. >Note</B
  10110. ></TH
  10111. ></TR
  10112. ><TR
  10113. ><TD
  10114. >&nbsp;</TD
  10115. ><TD
  10116. ALIGN="LEFT"
  10117. VALIGN="TOP"
  10118. ><P
  10119. > <TT
  10120. CLASS="FILENAME"
  10121. >/usr/src/linux</TT
  10122. >
  10123. may be a symbolic link to a kernel source code tree.</P
  10124. ></TD
  10125. ></TR
  10126. ></TABLE
  10127. ></DIV
  10128. ><DIV
  10129. CLASS="TIP"
  10130. ><P
  10131. ></P
  10132. ><TABLE
  10133. CLASS="TIP"
  10134. WIDTH="100%"
  10135. BORDER="0"
  10136. ><TR
  10137. ><TD
  10138. WIDTH="25"
  10139. ALIGN="CENTER"
  10140. VALIGN="TOP"
  10141. ><IMG
  10142. SRC="tip.gif"
  10143. HSPACE="5"
  10144. ALT="Tip"></TD
  10145. ><TH
  10146. ALIGN="LEFT"
  10147. VALIGN="CENTER"
  10148. ><B
  10149. >Rationale</B
  10150. ></TH
  10151. ></TR
  10152. ><TR
  10153. ><TD
  10154. >&nbsp;</TD
  10155. ><TD
  10156. ALIGN="LEFT"
  10157. VALIGN="TOP"
  10158. ><P
  10159. >It is important that the kernel include files be located in
  10160. <TT
  10161. CLASS="FILENAME"
  10162. >/usr/src/linux</TT
  10163. > and not in
  10164. <TT
  10165. CLASS="FILENAME"
  10166. >/usr/include</TT
  10167. > so there are no problems when system
  10168. administrators upgrade their kernel version for the first time.&#13;</P
  10169. ></TD
  10170. ></TR
  10171. ></TABLE
  10172. ></DIV
  10173. ></DIV
  10174. ><DIV
  10175. CLASS="SECTION"
  10176. ><HR><H3
  10177. CLASS="SECTION"
  10178. ><A
  10179. NAME="VARSPOOLCRONCRONANDATJOBS"
  10180. >/var/spool/cron : cron and at jobs</A
  10181. ></H3
  10182. ><P
  10183. >This directory contains the variable data for the
  10184. <B
  10185. CLASS="COMMAND"
  10186. >cron</B
  10187. > and <B
  10188. CLASS="COMMAND"
  10189. >at</B
  10190. > programs.</P
  10191. ></DIV
  10192. ></DIV
  10193. ></DIV
  10194. ><DIV
  10195. CLASS="CHAPTER"
  10196. ><HR><H1
  10197. ><A
  10198. NAME="APPENDIX"
  10199. ></A
  10200. >Chapter 7. Appendix</H1
  10201. ><DIV
  10202. CLASS="SECTION"
  10203. ><H2
  10204. CLASS="SECTION"
  10205. ><A
  10206. NAME="THEFHSMAILINGLIST"
  10207. >The FHS mailing list</A
  10208. ></H2
  10209. ><P
  10210. >The FHS mailing list is located at
  10211. &lt;freestandards-fhs-discuss@lists.sourceforge.net&gt;. You can
  10212. subscribe to the mailing list at this page <A
  10213. HREF="http://sourceforge.net/projects/freestandards/"
  10214. TARGET="_top"
  10215. >http://sourceforge.net/projects/freestandards/</A
  10216. >.</P
  10217. ><P
  10218. >Thanks to Network Operations at the University of California at
  10219. San Diego who allowed us to use their excellent mailing list
  10220. server.</P
  10221. ><P
  10222. >As noted in the introduction, please do not send mail to the mailing
  10223. list without first contacting the FHS editor or a listed contributor.</P
  10224. ></DIV
  10225. ><DIV
  10226. CLASS="SECTION"
  10227. ><HR><H2
  10228. CLASS="SECTION"
  10229. ><A
  10230. NAME="BACKGROUNDOFTHEFHS"
  10231. >Background of the FHS</A
  10232. ></H2
  10233. ><P
  10234. >The process of developing a standard filesystem hierarchy began
  10235. in August 1993 with an effort to restructure the file and directory
  10236. structure of Linux. The FSSTND, a filesystem hierarchy standard
  10237. specific to the Linux operating system, was released on February 14,
  10238. 1994. Subsequent revisions were released on October 9, 1994 and March
  10239. 28, 1995.</P
  10240. ><P
  10241. >In early 1995, the goal of developing a more comprehensive
  10242. version of FSSTND to address not only Linux, but other UNIX-like
  10243. systems was adopted with the help of members of the BSD development
  10244. community. As a result, a concerted effort was made to focus on
  10245. issues that were general to UNIX-like systems. In recognition of this
  10246. widening of scope, the name of the standard was changed to Filesystem
  10247. Hierarchy Standard or FHS for short.</P
  10248. ><P
  10249. >Volunteers who have contributed extensively to this standard are
  10250. listed at the end of this document. This standard represents a
  10251. consensus view of those and other contributors.</P
  10252. ></DIV
  10253. ><DIV
  10254. CLASS="SECTION"
  10255. ><HR><H2
  10256. CLASS="SECTION"
  10257. ><A
  10258. NAME="GENERALGUIDELINES"
  10259. >General Guidelines</A
  10260. ></H2
  10261. ><P
  10262. >Here are some of the guidelines that have been used in the development
  10263. of this standard:</P
  10264. ><P
  10265. ></P
  10266. ><UL
  10267. ><LI
  10268. STYLE="list-style-type: disc"
  10269. ><P
  10270. >Solve technical problems while limiting transitional difficulties.</P
  10271. ></LI
  10272. ><LI
  10273. STYLE="list-style-type: disc"
  10274. ><P
  10275. >Make the specification reasonably stable.</P
  10276. ></LI
  10277. ><LI
  10278. STYLE="list-style-type: disc"
  10279. ><P
  10280. >Gain the approval of distributors, developers, and other decision-makers
  10281. in relevant development groups and encourage their participation.</P
  10282. ></LI
  10283. ><LI
  10284. STYLE="list-style-type: disc"
  10285. ><P
  10286. >Provide a standard that is attractive to the implementors of different
  10287. UNIX-like systems.</P
  10288. ></LI
  10289. ></UL
  10290. ></DIV
  10291. ><DIV
  10292. CLASS="SECTION"
  10293. ><HR><H2
  10294. CLASS="SECTION"
  10295. ><A
  10296. NAME="SCOPE"
  10297. >Scope</A
  10298. ></H2
  10299. ><P
  10300. >This document specifies a standard filesystem hierarchy for FHS
  10301. filesystems by specifying the location of files and directories, and
  10302. the contents of some system files.</P
  10303. ><P
  10304. >This standard has been designed to be used by system
  10305. integrators, package developers, and system administrators in the
  10306. construction and maintenance of FHS compliant filesystems. It is
  10307. primarily intended to be a reference and is not a tutorial on how to
  10308. manage a conforming filesystem hierarchy.</P
  10309. ><P
  10310. >The FHS grew out of earlier work on FSSTND, a filesystem
  10311. organization standard for the Linux operating system. It builds on
  10312. FSSTND to address interoperability issues not just in the Linux
  10313. community but in a wider arena including 4.4BSD-based operating
  10314. systems. It incorporates lessons learned in the BSD world and
  10315. elsewhere about multi-architecture support and the demands of
  10316. heterogeneous networking.</P
  10317. ><P
  10318. >Although this standard is more comprehensive than previous
  10319. attempts at filesystem hierarchy standardization, periodic updates may
  10320. become necessary as requirements change in relation to emerging
  10321. technology. It is also possible that better solutions to the problems
  10322. addressed here will be discovered so that our solutions will no longer
  10323. be the best possible solutions. Supplementary drafts may be released
  10324. in addition to periodic updates to this document. However, a specific
  10325. goal is backwards compatibility from one release of this document to
  10326. the next.</P
  10327. ><P
  10328. >Comments related to this standard are welcome. Any comments or
  10329. suggestions for changes may be directed to the FHS editor (Daniel
  10330. Quinlan &lt;quinlan@pathname.com&gt;) or the FHS mailing list.
  10331. Typographical or grammatical comments should be directed to the FHS
  10332. editor.</P
  10333. ><P
  10334. >Before sending mail to the mailing list it is requested that you
  10335. first contact the FHS editor in order to avoid excessive re-discussion
  10336. of old topics.</P
  10337. ><P
  10338. >Questions about how to interpret items in this document may
  10339. occasionally arise. If you have need for a clarification, please
  10340. contact the FHS editor. Since this standard represents a consensus of
  10341. many participants, it is important to make certain that any
  10342. interpretation also represents their collective opinion. For this
  10343. reason it may not be possible to provide an immediate response unless
  10344. the inquiry has been the subject of previous discussion.</P
  10345. ></DIV
  10346. ><DIV
  10347. CLASS="SECTION"
  10348. ><HR><H2
  10349. CLASS="SECTION"
  10350. ><A
  10351. NAME="ACKNOWLEDGMENTS"
  10352. >Acknowledgments</A
  10353. ></H2
  10354. ><P
  10355. >The developers of the FHS wish to thank the developers, system
  10356. administrators, and users whose input was essential to this standard.
  10357. We wish to thank each of the contributors who helped to write,
  10358. compile, and compose this standard.</P
  10359. ><P
  10360. >The FHS Group also wishes to thank those Linux developers who
  10361. supported the FSSTND, the predecessor to this standard. If they
  10362. hadn't demonstrated that the FSSTND was beneficial, the FHS could
  10363. never have evolved.</P
  10364. ></DIV
  10365. ><DIV
  10366. CLASS="SECTION"
  10367. ><HR><H2
  10368. CLASS="SECTION"
  10369. ><A
  10370. NAME="CONTRIBUTORS"
  10371. >Contributors</A
  10372. ></H2
  10373. ><DIV
  10374. CLASS="INFORMALTABLE"
  10375. ><P
  10376. ></P
  10377. ><A
  10378. NAME="AEN2813"
  10379. ></A
  10380. ><TABLE
  10381. BORDER="0"
  10382. FRAME="void"
  10383. CLASS="CALSTABLE"
  10384. ><COL
  10385. WIDTH="1*"
  10386. TITLE="C1"><COL
  10387. WIDTH="1*"
  10388. TITLE="C2"><TBODY
  10389. ><TR
  10390. ><TD
  10391. ALIGN="LEFT"
  10392. >Brandon S. Allbery</TD
  10393. ><TD
  10394. ALIGN="LEFT"
  10395. >&lt;bsa@kf8nh.wariat.org&gt;</TD
  10396. ></TR
  10397. ><TR
  10398. ><TD
  10399. ALIGN="LEFT"
  10400. >Keith Bostic</TD
  10401. ><TD
  10402. ALIGN="LEFT"
  10403. >&lt;bostic@cs.berkeley.edu&gt;</TD
  10404. ></TR
  10405. ><TR
  10406. ><TD
  10407. ALIGN="LEFT"
  10408. >Drew Eckhardt</TD
  10409. ><TD
  10410. ALIGN="LEFT"
  10411. >&lt;drew@colorado.edu&gt;</TD
  10412. ></TR
  10413. ><TR
  10414. ><TD
  10415. ALIGN="LEFT"
  10416. >Rik Faith</TD
  10417. ><TD
  10418. ALIGN="LEFT"
  10419. >&lt;faith@cs.unc.edu&gt;</TD
  10420. ></TR
  10421. ><TR
  10422. ><TD
  10423. ALIGN="LEFT"
  10424. >Stephen Harris</TD
  10425. ><TD
  10426. ALIGN="LEFT"
  10427. >&lt;sweh@spuddy.mew.co.uk&gt;</TD
  10428. ></TR
  10429. ><TR
  10430. ><TD
  10431. ALIGN="LEFT"
  10432. >Ian Jackson</TD
  10433. ><TD
  10434. ALIGN="LEFT"
  10435. >&lt;ijackson@cus.cam.ac.uk&gt;</TD
  10436. ></TR
  10437. ><TR
  10438. ><TD
  10439. ALIGN="LEFT"
  10440. >Andreas Jaeger</TD
  10441. ><TD
  10442. ALIGN="LEFT"
  10443. >&lt;aj@suse.de&gt;</TD
  10444. ></TR
  10445. ><TR
  10446. ><TD
  10447. ALIGN="LEFT"
  10448. >John A. Martin</TD
  10449. ><TD
  10450. ALIGN="LEFT"
  10451. >&lt;jmartin@acm.org&gt;</TD
  10452. ></TR
  10453. ><TR
  10454. ><TD
  10455. ALIGN="LEFT"
  10456. >Ian McCloghrie</TD
  10457. ><TD
  10458. ALIGN="LEFT"
  10459. >&lt;ian@ucsd.edu&gt;</TD
  10460. ></TR
  10461. ><TR
  10462. ><TD
  10463. ALIGN="LEFT"
  10464. >Chris Metcalf</TD
  10465. ><TD
  10466. ALIGN="LEFT"
  10467. >&lt;metcalf@lcs.mit.edu&gt;</TD
  10468. ></TR
  10469. ><TR
  10470. ><TD
  10471. ALIGN="LEFT"
  10472. >Ian Murdock</TD
  10473. ><TD
  10474. ALIGN="LEFT"
  10475. >&lt;imurdock@debian.org&gt;</TD
  10476. ></TR
  10477. ><TR
  10478. ><TD
  10479. ALIGN="LEFT"
  10480. >David C. Niemi</TD
  10481. ><TD
  10482. ALIGN="LEFT"
  10483. >&lt;niemidc@clark.net&gt;</TD
  10484. ></TR
  10485. ><TR
  10486. ><TD
  10487. ALIGN="LEFT"
  10488. >Daniel Quinlan</TD
  10489. ><TD
  10490. ALIGN="LEFT"
  10491. >&lt;quinlan@pathname.com&gt;</TD
  10492. ></TR
  10493. ><TR
  10494. ><TD
  10495. ALIGN="LEFT"
  10496. >Eric S. Raymond</TD
  10497. ><TD
  10498. ALIGN="LEFT"
  10499. >&lt;esr@thyrsus.com&gt;</TD
  10500. ></TR
  10501. ><TR
  10502. ><TD
  10503. ALIGN="LEFT"
  10504. >Rusty Russell</TD
  10505. ><TD
  10506. ALIGN="LEFT"
  10507. >&lt;rusty@rustcorp.com.au&gt;</TD
  10508. ></TR
  10509. ><TR
  10510. ><TD
  10511. ALIGN="LEFT"
  10512. >Mike Sangrey</TD
  10513. ><TD
  10514. ALIGN="LEFT"
  10515. >&lt;mike@sojurn.lns.pa.us&gt;</TD
  10516. ></TR
  10517. ><TR
  10518. ><TD
  10519. ALIGN="LEFT"
  10520. >David H. Silber</TD
  10521. ><TD
  10522. ALIGN="LEFT"
  10523. >&lt;dhs@glowworm.firefly.com&gt;</TD
  10524. ></TR
  10525. ><TR
  10526. ><TD
  10527. ALIGN="LEFT"
  10528. >Thomas Sippel-Dau</TD
  10529. ><TD
  10530. ALIGN="LEFT"
  10531. >&lt;t.sippel-dau@ic.ac.uk&gt;</TD
  10532. ></TR
  10533. ><TR
  10534. ><TD
  10535. ALIGN="LEFT"
  10536. >Theodore Ts'o</TD
  10537. ><TD
  10538. ALIGN="LEFT"
  10539. >&lt;tytso@athena.mit.edu&gt;</TD
  10540. ></TR
  10541. ><TR
  10542. ><TD
  10543. ALIGN="LEFT"
  10544. >Stephen Tweedie</TD
  10545. ><TD
  10546. ALIGN="LEFT"
  10547. >&lt;sct@dcs.ed.ac.uk&gt;</TD
  10548. ></TR
  10549. ><TR
  10550. ><TD
  10551. ALIGN="LEFT"
  10552. >Fred N. van Kempen</TD
  10553. ><TD
  10554. ALIGN="LEFT"
  10555. >&lt;waltje@infomagic.com&gt;</TD
  10556. ></TR
  10557. ><TR
  10558. ><TD
  10559. ALIGN="LEFT"
  10560. >Bernd Warken</TD
  10561. ><TD
  10562. ALIGN="LEFT"
  10563. >&lt;bwarken@mayn.de&gt;</TD
  10564. ></TR
  10565. ><TR
  10566. ><TD
  10567. ALIGN="LEFT"
  10568. >Christopher Yeoh</TD
  10569. ><TD
  10570. ALIGN="LEFT"
  10571. >&lt;cyeoh@samba.org&gt;</TD
  10572. ></TR
  10573. ></TBODY
  10574. ></TABLE
  10575. ><P
  10576. ></P
  10577. ></DIV
  10578. ></DIV
  10579. ></DIV
  10580. ></DIV
  10581. ><H3
  10582. CLASS="FOOTNOTES"
  10583. >Notes</H3
  10584. ><TABLE
  10585. BORDER="0"
  10586. CLASS="FOOTNOTES"
  10587. WIDTH="100%"
  10588. ><TR
  10589. ><TD
  10590. ALIGN="LEFT"
  10591. VALIGN="TOP"
  10592. WIDTH="5%"
  10593. ><A
  10594. NAME="FTN.AEN261"
  10595. HREF="#AEN261"
  10596. ><SPAN
  10597. CLASS="footnote"
  10598. >[1]</SPAN
  10599. ></A
  10600. ></TD
  10601. ><TD
  10602. ALIGN="LEFT"
  10603. VALIGN="TOP"
  10604. WIDTH="95%"
  10605. ><P
  10606. >Command binaries that are not essential enough to place into
  10607. <TT
  10608. CLASS="FILENAME"
  10609. >/bin</TT
  10610. > must be placed in
  10611. <TT
  10612. CLASS="FILENAME"
  10613. >/usr/bin</TT
  10614. >, instead. Items that are required only
  10615. by non-root users (the X Window System, <TT
  10616. CLASS="FILENAME"
  10617. >chsh</TT
  10618. >,
  10619. etc.) are generally not essential enough to be placed into the root
  10620. partition.</P
  10621. ></TD
  10622. ></TR
  10623. ><TR
  10624. ><TD
  10625. ALIGN="LEFT"
  10626. VALIGN="TOP"
  10627. WIDTH="5%"
  10628. ><A
  10629. NAME="FTN.AEN493"
  10630. HREF="#AEN493"
  10631. ><SPAN
  10632. CLASS="footnote"
  10633. >[2]</SPAN
  10634. ></A
  10635. ></TD
  10636. ><TD
  10637. ALIGN="LEFT"
  10638. VALIGN="TOP"
  10639. WIDTH="95%"
  10640. ><P
  10641. > Programs necessary to arrange for the boot loader to be
  10642. able to boot a file must be placed in <TT
  10643. CLASS="FILENAME"
  10644. >/sbin</TT
  10645. >.
  10646. Configuration files for boot loaders must be placed in
  10647. <TT
  10648. CLASS="FILENAME"
  10649. >/etc</TT
  10650. >.</P
  10651. ><P
  10652. >The GRUB bootloader reads its configurations file before
  10653. booting, so that must be placed in <TT
  10654. CLASS="FILENAME"
  10655. >/boot</TT
  10656. >. However, it is a
  10657. configuration file, so should be in <TT
  10658. CLASS="FILENAME"
  10659. >/etc</TT
  10660. >. The answer here is a
  10661. symbolic link such as <TT
  10662. CLASS="FILENAME"
  10663. >/etc/grub/menu.lst</TT
  10664. > -&#62; <TT
  10665. CLASS="FILENAME"
  10666. >/boot/menu.lst</TT
  10667. >.</P
  10668. ></TD
  10669. ></TR
  10670. ><TR
  10671. ><TD
  10672. ALIGN="LEFT"
  10673. VALIGN="TOP"
  10674. WIDTH="5%"
  10675. ><A
  10676. NAME="FTN.AEN507"
  10677. HREF="#AEN507"
  10678. ><SPAN
  10679. CLASS="footnote"
  10680. >[3]</SPAN
  10681. ></A
  10682. ></TD
  10683. ><TD
  10684. ALIGN="LEFT"
  10685. VALIGN="TOP"
  10686. WIDTH="95%"
  10687. ><P
  10688. >On some i386 machines, it may be necessary for
  10689. <TT
  10690. CLASS="FILENAME"
  10691. >/boot</TT
  10692. > to be located on a separate partition
  10693. located completely below cylinder 1024 of the boot device due to
  10694. hardware constraints.</P
  10695. ><P
  10696. >Certain MIPS systems require a <TT
  10697. CLASS="FILENAME"
  10698. >/boot</TT
  10699. >
  10700. partition that is a mounted MS-DOS filesystem or whatever other
  10701. filesystem type is accessible for the firmware. This may result in
  10702. restrictions with respect to usable filenames within
  10703. <TT
  10704. CLASS="FILENAME"
  10705. >/boot</TT
  10706. > (only for affected systems).</P
  10707. ></TD
  10708. ></TR
  10709. ><TR
  10710. ><TD
  10711. ALIGN="LEFT"
  10712. VALIGN="TOP"
  10713. WIDTH="5%"
  10714. ><A
  10715. NAME="FTN.AEN534"
  10716. HREF="#AEN534"
  10717. ><SPAN
  10718. CLASS="footnote"
  10719. >[4]</SPAN
  10720. ></A
  10721. ></TD
  10722. ><TD
  10723. ALIGN="LEFT"
  10724. VALIGN="TOP"
  10725. WIDTH="95%"
  10726. ><P
  10727. >The setup of command scripts invoked at boot time may resemble System
  10728. V, BSD or other models. Further specification in this area may be
  10729. added to a future version of this standard.</P
  10730. ></TD
  10731. ></TR
  10732. ><TR
  10733. ><TD
  10734. ALIGN="LEFT"
  10735. VALIGN="TOP"
  10736. WIDTH="5%"
  10737. ><A
  10738. NAME="FTN.AEN540"
  10739. HREF="#AEN540"
  10740. ><SPAN
  10741. CLASS="footnote"
  10742. >[5]</SPAN
  10743. ></A
  10744. ></TD
  10745. ><TD
  10746. ALIGN="LEFT"
  10747. VALIGN="TOP"
  10748. WIDTH="95%"
  10749. ><P
  10750. >It is recommended that files be stored in subdirectories of
  10751. <TT
  10752. CLASS="FILENAME"
  10753. >/etc</TT
  10754. > rather than directly in
  10755. <TT
  10756. CLASS="FILENAME"
  10757. >/etc</TT
  10758. >.</P
  10759. ></TD
  10760. ></TR
  10761. ><TR
  10762. ><TD
  10763. ALIGN="LEFT"
  10764. VALIGN="TOP"
  10765. WIDTH="5%"
  10766. ><A
  10767. NAME="FTN.AEN581"
  10768. HREF="#AEN581"
  10769. ><SPAN
  10770. CLASS="footnote"
  10771. >[6]</SPAN
  10772. ></A
  10773. ></TD
  10774. ><TD
  10775. ALIGN="LEFT"
  10776. VALIGN="TOP"
  10777. WIDTH="95%"
  10778. ><P
  10779. >Systems that use the shadow password suite will have additional
  10780. configuration files in <TT
  10781. CLASS="FILENAME"
  10782. >/etc</TT
  10783. >
  10784. (<TT
  10785. CLASS="FILENAME"
  10786. >/etc/shadow</TT
  10787. > and others) and programs in
  10788. <TT
  10789. CLASS="FILENAME"
  10790. >/usr/sbin</TT
  10791. > (<B
  10792. CLASS="COMMAND"
  10793. >useradd</B
  10794. >,
  10795. <B
  10796. CLASS="COMMAND"
  10797. >usermod</B
  10798. >, and others).</P
  10799. ></TD
  10800. ></TR
  10801. ><TR
  10802. ><TD
  10803. ALIGN="LEFT"
  10804. VALIGN="TOP"
  10805. WIDTH="5%"
  10806. ><A
  10807. NAME="FTN.AEN722"
  10808. HREF="#AEN722"
  10809. ><SPAN
  10810. CLASS="footnote"
  10811. >[7]</SPAN
  10812. ></A
  10813. ></TD
  10814. ><TD
  10815. ALIGN="LEFT"
  10816. VALIGN="TOP"
  10817. WIDTH="95%"
  10818. ><P
  10819. >On some Linux systems, this may be a symbolic link to
  10820. <TT
  10821. CLASS="FILENAME"
  10822. >/proc/mounts</TT
  10823. >, in which case this exception is not
  10824. required.</P
  10825. ></TD
  10826. ></TR
  10827. ><TR
  10828. ><TD
  10829. ALIGN="LEFT"
  10830. VALIGN="TOP"
  10831. WIDTH="5%"
  10832. ><A
  10833. NAME="FTN.AEN778"
  10834. HREF="#AEN778"
  10835. ><SPAN
  10836. CLASS="footnote"
  10837. >[8]</SPAN
  10838. ></A
  10839. ></TD
  10840. ><TD
  10841. ALIGN="LEFT"
  10842. VALIGN="TOP"
  10843. WIDTH="95%"
  10844. ><P
  10845. ><TT
  10846. CLASS="FILENAME"
  10847. >/etc/X11/xdm</TT
  10848. > holds the configuration files for
  10849. <TT
  10850. CLASS="FILENAME"
  10851. >xdm</TT
  10852. >. These are most of the files previously
  10853. found in <TT
  10854. CLASS="FILENAME"
  10855. >/usr/lib/X11/xdm</TT
  10856. >. Some local variable
  10857. data for <TT
  10858. CLASS="FILENAME"
  10859. >xdm</TT
  10860. > is stored in
  10861. <TT
  10862. CLASS="FILENAME"
  10863. >/var/lib/xdm</TT
  10864. >.</P
  10865. ></TD
  10866. ></TR
  10867. ><TR
  10868. ><TD
  10869. ALIGN="LEFT"
  10870. VALIGN="TOP"
  10871. WIDTH="5%"
  10872. ><A
  10873. NAME="FTN.AEN808"
  10874. HREF="#AEN808"
  10875. ><SPAN
  10876. CLASS="footnote"
  10877. >[9]</SPAN
  10878. ></A
  10879. ></TD
  10880. ><TD
  10881. ALIGN="LEFT"
  10882. VALIGN="TOP"
  10883. WIDTH="95%"
  10884. ><P
  10885. >Different people prefer to place user accounts in a variety of places.
  10886. This section describes only a suggested placement for user home
  10887. directories; nevertheless we recommend that all FHS-compliant
  10888. distributions use this as the default location for home
  10889. directories.</P
  10890. ><P
  10891. >On small systems, each user's directory is typically one of the
  10892. many subdirectories of <TT
  10893. CLASS="FILENAME"
  10894. >/home</TT
  10895. > such as
  10896. <TT
  10897. CLASS="FILENAME"
  10898. >/home/smith</TT
  10899. >, <TT
  10900. CLASS="FILENAME"
  10901. >/home/torvalds</TT
  10902. >,
  10903. <TT
  10904. CLASS="FILENAME"
  10905. >/home/operator</TT
  10906. >, etc. On large systems
  10907. (especially when the <TT
  10908. CLASS="FILENAME"
  10909. >/home</TT
  10910. > directories are shared
  10911. amongst many hosts using NFS) it is useful to subdivide user home
  10912. directories. Subdivision may be accomplished by using subdirectories
  10913. such as <TT
  10914. CLASS="FILENAME"
  10915. >/home/staff</TT
  10916. >,
  10917. <TT
  10918. CLASS="FILENAME"
  10919. >/home/guests</TT
  10920. >,
  10921. <TT
  10922. CLASS="FILENAME"
  10923. >/home/students</TT
  10924. >, etc.</P
  10925. ></TD
  10926. ></TR
  10927. ><TR
  10928. ><TD
  10929. ALIGN="LEFT"
  10930. VALIGN="TOP"
  10931. WIDTH="5%"
  10932. ><A
  10933. NAME="FTN.AEN819"
  10934. HREF="#AEN819"
  10935. ><SPAN
  10936. CLASS="footnote"
  10937. >[10]</SPAN
  10938. ></A
  10939. ></TD
  10940. ><TD
  10941. ALIGN="LEFT"
  10942. VALIGN="TOP"
  10943. WIDTH="95%"
  10944. ><P
  10945. >If you want to find out a user's home directory, you should use the
  10946. <TT
  10947. CLASS="FILENAME"
  10948. >getpwent(3)</TT
  10949. > library function rather than relying
  10950. on <TT
  10951. CLASS="FILENAME"
  10952. >/etc/passwd</TT
  10953. > because user information may be
  10954. stored remotely using systems such as NIS.</P
  10955. ></TD
  10956. ></TR
  10957. ><TR
  10958. ><TD
  10959. ALIGN="LEFT"
  10960. VALIGN="TOP"
  10961. WIDTH="5%"
  10962. ><A
  10963. NAME="FTN.AEN826"
  10964. HREF="#AEN826"
  10965. ><SPAN
  10966. CLASS="footnote"
  10967. >[11]</SPAN
  10968. ></A
  10969. ></TD
  10970. ><TD
  10971. ALIGN="LEFT"
  10972. VALIGN="TOP"
  10973. WIDTH="95%"
  10974. ><P
  10975. >It is recommended that apart from autosave and lock files programs
  10976. should refrain from creating non dot files or directories in a home
  10977. directory without user intervention.</P
  10978. ></TD
  10979. ></TR
  10980. ><TR
  10981. ><TD
  10982. ALIGN="LEFT"
  10983. VALIGN="TOP"
  10984. WIDTH="5%"
  10985. ><A
  10986. NAME="FTN.AEN836"
  10987. HREF="#AEN836"
  10988. ><SPAN
  10989. CLASS="footnote"
  10990. >[12]</SPAN
  10991. ></A
  10992. ></TD
  10993. ><TD
  10994. ALIGN="LEFT"
  10995. VALIGN="TOP"
  10996. WIDTH="95%"
  10997. ><P
  10998. >Shared libraries that are only necessary for binaries in
  10999. <TT
  11000. CLASS="FILENAME"
  11001. >/usr</TT
  11002. > (such as any X Window binaries) must not be
  11003. in <TT
  11004. CLASS="FILENAME"
  11005. >/lib</TT
  11006. >. Only the shared libraries required to
  11007. run binaries in <TT
  11008. CLASS="FILENAME"
  11009. >/bin</TT
  11010. > and
  11011. <TT
  11012. CLASS="FILENAME"
  11013. >/sbin</TT
  11014. > may be here. In particular, the library
  11015. <TT
  11016. CLASS="FILENAME"
  11017. >libm.so.*</TT
  11018. > may also be placed in
  11019. <TT
  11020. CLASS="FILENAME"
  11021. >/usr/lib</TT
  11022. > if it is not required by anything in
  11023. <TT
  11024. CLASS="FILENAME"
  11025. >/bin</TT
  11026. > or <TT
  11027. CLASS="FILENAME"
  11028. >/sbin</TT
  11029. >.</P
  11030. ></TD
  11031. ></TR
  11032. ><TR
  11033. ><TD
  11034. ALIGN="LEFT"
  11035. VALIGN="TOP"
  11036. WIDTH="5%"
  11037. ><A
  11038. NAME="FTN.AEN866"
  11039. HREF="#AEN866"
  11040. ><SPAN
  11041. CLASS="footnote"
  11042. >[13]</SPAN
  11043. ></A
  11044. ></TD
  11045. ><TD
  11046. ALIGN="LEFT"
  11047. VALIGN="TOP"
  11048. WIDTH="95%"
  11049. ><P
  11050. >The usual placement of this binary is <TT
  11051. CLASS="FILENAME"
  11052. >/usr/bin/cpp</TT
  11053. >.</P
  11054. ></TD
  11055. ></TR
  11056. ><TR
  11057. ><TD
  11058. ALIGN="LEFT"
  11059. VALIGN="TOP"
  11060. WIDTH="5%"
  11061. ><A
  11062. NAME="FTN.AEN890"
  11063. HREF="#AEN890"
  11064. ><SPAN
  11065. CLASS="footnote"
  11066. >[14]</SPAN
  11067. ></A
  11068. ></TD
  11069. ><TD
  11070. ALIGN="LEFT"
  11071. VALIGN="TOP"
  11072. WIDTH="95%"
  11073. ><P
  11074. >This is commonly used for 64-bit or 32-bit support on
  11075. systems which support multiple binary formats, but require libraries
  11076. of the same name. In this case, <TT
  11077. CLASS="FILENAME"
  11078. >/lib32</TT
  11079. > and
  11080. <TT
  11081. CLASS="FILENAME"
  11082. >/lib64</TT
  11083. > might be the library directories, and
  11084. <TT
  11085. CLASS="FILENAME"
  11086. >/lib</TT
  11087. > a symlink to one of them.</P
  11088. ></TD
  11089. ></TR
  11090. ><TR
  11091. ><TD
  11092. ALIGN="LEFT"
  11093. VALIGN="TOP"
  11094. WIDTH="5%"
  11095. ><A
  11096. NAME="FTN.AEN900"
  11097. HREF="#AEN900"
  11098. ><SPAN
  11099. CLASS="footnote"
  11100. >[15]</SPAN
  11101. ></A
  11102. ></TD
  11103. ><TD
  11104. ALIGN="LEFT"
  11105. VALIGN="TOP"
  11106. WIDTH="95%"
  11107. ><P
  11108. ><TT
  11109. CLASS="FILENAME"
  11110. >/lib&lt;qual&gt;/cpp</TT
  11111. > is still permitted: this
  11112. allows the case where <TT
  11113. CLASS="FILENAME"
  11114. >/lib</TT
  11115. > and
  11116. <TT
  11117. CLASS="FILENAME"
  11118. >/lib&lt;qual&gt;</TT
  11119. > are the same (one is a symbolic
  11120. link to the other). </P
  11121. ></TD
  11122. ></TR
  11123. ><TR
  11124. ><TD
  11125. ALIGN="LEFT"
  11126. VALIGN="TOP"
  11127. WIDTH="5%"
  11128. ><A
  11129. NAME="FTN.AEN947"
  11130. HREF="#AEN947"
  11131. ><SPAN
  11132. CLASS="footnote"
  11133. >[16]</SPAN
  11134. ></A
  11135. ></TD
  11136. ><TD
  11137. ALIGN="LEFT"
  11138. VALIGN="TOP"
  11139. WIDTH="95%"
  11140. ><P
  11141. >A compliant implementation with two CDROM drives might have
  11142. <TT
  11143. CLASS="FILENAME"
  11144. >/media/cdrom0</TT
  11145. > and
  11146. <TT
  11147. CLASS="FILENAME"
  11148. >/media/cdrom1</TT
  11149. > with
  11150. <TT
  11151. CLASS="FILENAME"
  11152. >/media/cdrom</TT
  11153. > a symlink to either of these.</P
  11154. ></TD
  11155. ></TR
  11156. ><TR
  11157. ><TD
  11158. ALIGN="LEFT"
  11159. VALIGN="TOP"
  11160. WIDTH="5%"
  11161. ><A
  11162. NAME="FTN.AEN1037"
  11163. HREF="#AEN1037"
  11164. ><SPAN
  11165. CLASS="footnote"
  11166. >[17]</SPAN
  11167. ></A
  11168. ></TD
  11169. ><TD
  11170. ALIGN="LEFT"
  11171. VALIGN="TOP"
  11172. WIDTH="95%"
  11173. ><P
  11174. >If the home directory of the root account is not
  11175. stored on the root partition it will be necessary to make certain it
  11176. will default to <TT
  11177. CLASS="FILENAME"
  11178. >/</TT
  11179. > if it can not be
  11180. located.</P
  11181. ><P
  11182. >We recommend against using the root account for tasks that can be
  11183. performed as an unprivileged user, and that it be used solely for system
  11184. administration. For this reason, we recommend that subdirectories for
  11185. mail and other applications not appear in the root account's home
  11186. directory, and that mail for administration roles such as root,
  11187. postmaster, and webmaster be forwarded to an appropriate user.</P
  11188. ></TD
  11189. ></TR
  11190. ><TR
  11191. ><TD
  11192. ALIGN="LEFT"
  11193. VALIGN="TOP"
  11194. WIDTH="5%"
  11195. ><A
  11196. NAME="FTN.AEN1051"
  11197. HREF="#AEN1051"
  11198. ><SPAN
  11199. CLASS="footnote"
  11200. >[18]</SPAN
  11201. ></A
  11202. ></TD
  11203. ><TD
  11204. ALIGN="LEFT"
  11205. VALIGN="TOP"
  11206. WIDTH="95%"
  11207. ><P
  11208. >Originally, <TT
  11209. CLASS="FILENAME"
  11210. >/sbin</TT
  11211. > binaries were kept in
  11212. <TT
  11213. CLASS="FILENAME"
  11214. >/etc</TT
  11215. >. </P
  11216. ></TD
  11217. ></TR
  11218. ><TR
  11219. ><TD
  11220. ALIGN="LEFT"
  11221. VALIGN="TOP"
  11222. WIDTH="5%"
  11223. ><A
  11224. NAME="FTN.AEN1058"
  11225. HREF="#AEN1058"
  11226. ><SPAN
  11227. CLASS="footnote"
  11228. >[19]</SPAN
  11229. ></A
  11230. ></TD
  11231. ><TD
  11232. ALIGN="LEFT"
  11233. VALIGN="TOP"
  11234. WIDTH="95%"
  11235. ><P
  11236. >Deciding what things go into
  11237. <SPAN
  11238. CLASS="emphasis"
  11239. ><I
  11240. CLASS="EMPHASIS"
  11241. >"sbin"</I
  11242. ></SPAN
  11243. > directories is simple: if a normal (not a
  11244. system administrator) user will ever run it directly, then it must be
  11245. placed in one of the <SPAN
  11246. CLASS="emphasis"
  11247. ><I
  11248. CLASS="EMPHASIS"
  11249. >"bin"</I
  11250. ></SPAN
  11251. > directories. Ordinary
  11252. users should not have to place any of the <TT
  11253. CLASS="FILENAME"
  11254. >sbin</TT
  11255. >
  11256. directories in their path.</P
  11257. ><P
  11258. >For example, files such as <B
  11259. CLASS="COMMAND"
  11260. >chfn</B
  11261. > which users
  11262. only occasionally use must still be placed in
  11263. <TT
  11264. CLASS="FILENAME"
  11265. >/usr/bin</TT
  11266. >. <B
  11267. CLASS="COMMAND"
  11268. >ping</B
  11269. >, although it
  11270. is absolutely necessary for root (network recovery and diagnosis) is
  11271. often used by users and must live in <TT
  11272. CLASS="FILENAME"
  11273. >/bin</TT
  11274. > for
  11275. that reason.</P
  11276. ><P
  11277. >We recommend that users have read and execute permission for
  11278. everything in <TT
  11279. CLASS="FILENAME"
  11280. >/sbin</TT
  11281. > except, perhaps, certain
  11282. setuid and setgid programs. The division between
  11283. <TT
  11284. CLASS="FILENAME"
  11285. >/bin</TT
  11286. > and <TT
  11287. CLASS="FILENAME"
  11288. >/sbin</TT
  11289. > was not
  11290. created for security reasons or to prevent users from seeing the
  11291. operating system, but to provide a good partition between binaries
  11292. that everyone uses and ones that are primarily used for administration
  11293. tasks. There is no inherent security advantage in making
  11294. <TT
  11295. CLASS="FILENAME"
  11296. >/sbin</TT
  11297. > off-limits for users.&#13;</P
  11298. ></TD
  11299. ></TR
  11300. ><TR
  11301. ><TD
  11302. ALIGN="LEFT"
  11303. VALIGN="TOP"
  11304. WIDTH="5%"
  11305. ><A
  11306. NAME="FTN.AEN1192"
  11307. HREF="#AEN1192"
  11308. ><SPAN
  11309. CLASS="footnote"
  11310. >[20]</SPAN
  11311. ></A
  11312. ></TD
  11313. ><TD
  11314. ALIGN="LEFT"
  11315. VALIGN="TOP"
  11316. WIDTH="95%"
  11317. ><P
  11318. >This is particularly important as these areas will often contain both
  11319. files initially installed by the distributor, and those added by the
  11320. administrator.</P
  11321. ></TD
  11322. ></TR
  11323. ><TR
  11324. ><TD
  11325. ALIGN="LEFT"
  11326. VALIGN="TOP"
  11327. WIDTH="5%"
  11328. ><A
  11329. NAME="FTN.AEN1299"
  11330. HREF="#AEN1299"
  11331. ><SPAN
  11332. CLASS="footnote"
  11333. >[21]</SPAN
  11334. ></A
  11335. ></TD
  11336. ><TD
  11337. ALIGN="LEFT"
  11338. VALIGN="TOP"
  11339. WIDTH="95%"
  11340. ><P
  11341. >Examples of such configuration files include
  11342. <TT
  11343. CLASS="FILENAME"
  11344. >Xconfig</TT
  11345. >, <TT
  11346. CLASS="FILENAME"
  11347. >XF86Config</TT
  11348. >, or
  11349. <TT
  11350. CLASS="FILENAME"
  11351. >system.twmrc</TT
  11352. >)</P
  11353. ></TD
  11354. ></TR
  11355. ><TR
  11356. ><TD
  11357. ALIGN="LEFT"
  11358. VALIGN="TOP"
  11359. WIDTH="5%"
  11360. ><A
  11361. NAME="FTN.AEN1389"
  11362. HREF="#AEN1389"
  11363. ><SPAN
  11364. CLASS="footnote"
  11365. >[22]</SPAN
  11366. ></A
  11367. ></TD
  11368. ><TD
  11369. ALIGN="LEFT"
  11370. VALIGN="TOP"
  11371. WIDTH="95%"
  11372. ><P
  11373. > Miscellaneous
  11374. architecture-independent application-specific static files and
  11375. subdirectories must be placed in <TT
  11376. CLASS="FILENAME"
  11377. >/usr/share</TT
  11378. >.</P
  11379. ></TD
  11380. ></TR
  11381. ><TR
  11382. ><TD
  11383. ALIGN="LEFT"
  11384. VALIGN="TOP"
  11385. WIDTH="5%"
  11386. ><A
  11387. NAME="FTN.AEN1394"
  11388. HREF="#AEN1394"
  11389. ><SPAN
  11390. CLASS="footnote"
  11391. >[23]</SPAN
  11392. ></A
  11393. ></TD
  11394. ><TD
  11395. ALIGN="LEFT"
  11396. VALIGN="TOP"
  11397. WIDTH="95%"
  11398. ><P
  11399. > For example, the <TT
  11400. CLASS="FILENAME"
  11401. >perl5</TT
  11402. > subdirectory for
  11403. Perl 5 modules and libraries.</P
  11404. ></TD
  11405. ></TR
  11406. ><TR
  11407. ><TD
  11408. ALIGN="LEFT"
  11409. VALIGN="TOP"
  11410. WIDTH="5%"
  11411. ><A
  11412. NAME="FTN.AEN1402"
  11413. HREF="#AEN1402"
  11414. ><SPAN
  11415. CLASS="footnote"
  11416. >[24]</SPAN
  11417. ></A
  11418. ></TD
  11419. ><TD
  11420. ALIGN="LEFT"
  11421. VALIGN="TOP"
  11422. WIDTH="95%"
  11423. ><P
  11424. >Some executable commands such as <B
  11425. CLASS="COMMAND"
  11426. >makewhatis</B
  11427. > and
  11428. <B
  11429. CLASS="COMMAND"
  11430. >sendmail</B
  11431. > have also been traditionally placed in
  11432. <TT
  11433. CLASS="FILENAME"
  11434. >/usr/lib</TT
  11435. >. <B
  11436. CLASS="COMMAND"
  11437. >makewhatis</B
  11438. > is an
  11439. internal binary and must be placed in a binary directory; users access
  11440. only <B
  11441. CLASS="COMMAND"
  11442. >catman</B
  11443. >. Newer <B
  11444. CLASS="COMMAND"
  11445. >sendmail</B
  11446. >
  11447. binaries are now placed by default in <TT
  11448. CLASS="FILENAME"
  11449. >/usr/sbin</TT
  11450. >.
  11451. Additionally, systems using a <SPAN
  11452. CLASS="emphasis"
  11453. ><I
  11454. CLASS="EMPHASIS"
  11455. >sendmail</I
  11456. ></SPAN
  11457. >-compatible
  11458. mail transfer agent must provide
  11459. <B
  11460. CLASS="COMMAND"
  11461. >/usr/sbin/sendmail</B
  11462. > as a symbolic link to the
  11463. appropriate executable. </P
  11464. ></TD
  11465. ></TR
  11466. ><TR
  11467. ><TD
  11468. ALIGN="LEFT"
  11469. VALIGN="TOP"
  11470. WIDTH="5%"
  11471. ><A
  11472. NAME="FTN.AEN1418"
  11473. HREF="#AEN1418"
  11474. ><SPAN
  11475. CLASS="footnote"
  11476. >[25]</SPAN
  11477. ></A
  11478. ></TD
  11479. ><TD
  11480. ALIGN="LEFT"
  11481. VALIGN="TOP"
  11482. WIDTH="95%"
  11483. ><P
  11484. >Host-specific data for the X Window System must not be stored in
  11485. <TT
  11486. CLASS="FILENAME"
  11487. >/usr/lib/X11</TT
  11488. >. Host-specific configuration files
  11489. such as <TT
  11490. CLASS="FILENAME"
  11491. >Xconfig</TT
  11492. > or
  11493. <TT
  11494. CLASS="FILENAME"
  11495. >XF86Config</TT
  11496. > must be stored in
  11497. <TT
  11498. CLASS="FILENAME"
  11499. >/etc/X11</TT
  11500. >. This includes configuration data such
  11501. as <TT
  11502. CLASS="FILENAME"
  11503. >system.twmrc</TT
  11504. > even if it is only made a
  11505. symbolic link to a more global configuration file (probably in
  11506. <TT
  11507. CLASS="FILENAME"
  11508. >/usr/X11R6/lib/X11</TT
  11509. >).</P
  11510. ></TD
  11511. ></TR
  11512. ><TR
  11513. ><TD
  11514. ALIGN="LEFT"
  11515. VALIGN="TOP"
  11516. WIDTH="5%"
  11517. ><A
  11518. NAME="FTN.AEN1435"
  11519. HREF="#AEN1435"
  11520. ><SPAN
  11521. CLASS="footnote"
  11522. >[26]</SPAN
  11523. ></A
  11524. ></TD
  11525. ><TD
  11526. ALIGN="LEFT"
  11527. VALIGN="TOP"
  11528. WIDTH="95%"
  11529. ><P
  11530. >The case where <TT
  11531. CLASS="FILENAME"
  11532. >/usr/lib</TT
  11533. > and <TT
  11534. CLASS="FILENAME"
  11535. >/usr/lib&lt;qual&gt;</TT
  11536. > are the
  11537. same (one is a symbolic link to the other) these files and the
  11538. per-application subdirectories will exist.</P
  11539. ></TD
  11540. ></TR
  11541. ><TR
  11542. ><TD
  11543. ALIGN="LEFT"
  11544. VALIGN="TOP"
  11545. WIDTH="5%"
  11546. ><A
  11547. NAME="FTN.AEN1450"
  11548. HREF="#AEN1450"
  11549. ><SPAN
  11550. CLASS="footnote"
  11551. >[27]</SPAN
  11552. ></A
  11553. ></TD
  11554. ><TD
  11555. ALIGN="LEFT"
  11556. VALIGN="TOP"
  11557. WIDTH="95%"
  11558. ><P
  11559. >Software placed in <TT
  11560. CLASS="FILENAME"
  11561. >/</TT
  11562. > or
  11563. <TT
  11564. CLASS="FILENAME"
  11565. >/usr</TT
  11566. > may be overwritten by system upgrades
  11567. (though we recommend that distributions do not overwrite data in
  11568. <TT
  11569. CLASS="FILENAME"
  11570. >/etc</TT
  11571. > under these circumstances). For this
  11572. reason, local software must not be placed outside of
  11573. <TT
  11574. CLASS="FILENAME"
  11575. >/usr/local</TT
  11576. > without good reason.</P
  11577. ></TD
  11578. ></TR
  11579. ><TR
  11580. ><TD
  11581. ALIGN="LEFT"
  11582. VALIGN="TOP"
  11583. WIDTH="5%"
  11584. ><A
  11585. NAME="FTN.AEN1530"
  11586. HREF="#AEN1530"
  11587. ><SPAN
  11588. CLASS="footnote"
  11589. >[28]</SPAN
  11590. ></A
  11591. ></TD
  11592. ><TD
  11593. ALIGN="LEFT"
  11594. VALIGN="TOP"
  11595. WIDTH="95%"
  11596. ><P
  11597. ><TT
  11598. CLASS="FILENAME"
  11599. >/usr/local/man</TT
  11600. > may be deprecated in future FHS
  11601. releases, so if all else is equal, making that one a symlink seems
  11602. sensible.</P
  11603. ></TD
  11604. ></TR
  11605. ><TR
  11606. ><TD
  11607. ALIGN="LEFT"
  11608. VALIGN="TOP"
  11609. WIDTH="5%"
  11610. ><A
  11611. NAME="FTN.AEN1540"
  11612. HREF="#AEN1540"
  11613. ><SPAN
  11614. CLASS="footnote"
  11615. >[29]</SPAN
  11616. ></A
  11617. ></TD
  11618. ><TD
  11619. ALIGN="LEFT"
  11620. VALIGN="TOP"
  11621. WIDTH="95%"
  11622. ><P
  11623. >Locally installed system administration programs should be placed in
  11624. <TT
  11625. CLASS="FILENAME"
  11626. >/usr/local/sbin</TT
  11627. >.</P
  11628. ><P
  11629. ></P
  11630. ></TD
  11631. ></TR
  11632. ><TR
  11633. ><TD
  11634. ALIGN="LEFT"
  11635. VALIGN="TOP"
  11636. WIDTH="5%"
  11637. ><A
  11638. NAME="FTN.AEN1550"
  11639. HREF="#AEN1550"
  11640. ><SPAN
  11641. CLASS="footnote"
  11642. >[30]</SPAN
  11643. ></A
  11644. ></TD
  11645. ><TD
  11646. ALIGN="LEFT"
  11647. VALIGN="TOP"
  11648. WIDTH="95%"
  11649. ><P
  11650. >Much of this data originally lived in <TT
  11651. CLASS="FILENAME"
  11652. >/usr</TT
  11653. >
  11654. (<TT
  11655. CLASS="FILENAME"
  11656. >man</TT
  11657. >, <TT
  11658. CLASS="FILENAME"
  11659. >doc</TT
  11660. >) or
  11661. <TT
  11662. CLASS="FILENAME"
  11663. >/usr/lib</TT
  11664. > (<TT
  11665. CLASS="FILENAME"
  11666. >dict</TT
  11667. >,
  11668. <TT
  11669. CLASS="FILENAME"
  11670. >terminfo</TT
  11671. >, <TT
  11672. CLASS="FILENAME"
  11673. >zoneinfo</TT
  11674. >).</P
  11675. ></TD
  11676. ></TR
  11677. ><TR
  11678. ><TD
  11679. ALIGN="LEFT"
  11680. VALIGN="TOP"
  11681. WIDTH="5%"
  11682. ><A
  11683. NAME="FTN.AEN1701"
  11684. HREF="#AEN1701"
  11685. ><SPAN
  11686. CLASS="footnote"
  11687. >[31]</SPAN
  11688. ></A
  11689. ></TD
  11690. ><TD
  11691. ALIGN="LEFT"
  11692. VALIGN="TOP"
  11693. WIDTH="95%"
  11694. ><P
  11695. >Obviously, there are no manual pages in <TT
  11696. CLASS="FILENAME"
  11697. >/</TT
  11698. >
  11699. because they are not required at boot time nor are they required in
  11700. emergencies. Really.</P
  11701. ></TD
  11702. ></TR
  11703. ><TR
  11704. ><TD
  11705. ALIGN="LEFT"
  11706. VALIGN="TOP"
  11707. WIDTH="5%"
  11708. ><A
  11709. NAME="FTN.AEN1741"
  11710. HREF="#AEN1741"
  11711. ><SPAN
  11712. CLASS="footnote"
  11713. >[32]</SPAN
  11714. ></A
  11715. ></TD
  11716. ><TD
  11717. ALIGN="LEFT"
  11718. VALIGN="TOP"
  11719. WIDTH="95%"
  11720. ><P
  11721. >For example, if <TT
  11722. CLASS="FILENAME"
  11723. >/usr/local/man</TT
  11724. >
  11725. has no manual pages in section 4 (Devices), then
  11726. <TT
  11727. CLASS="FILENAME"
  11728. >/usr/local/man/man4</TT
  11729. > may be omitted.</P
  11730. ></TD
  11731. ></TR
  11732. ><TR
  11733. ><TD
  11734. ALIGN="LEFT"
  11735. VALIGN="TOP"
  11736. WIDTH="5%"
  11737. ><A
  11738. NAME="FTN.AEN1797"
  11739. HREF="#AEN1797"
  11740. ><SPAN
  11741. CLASS="footnote"
  11742. >[33]</SPAN
  11743. ></A
  11744. ></TD
  11745. ><TD
  11746. ALIGN="LEFT"
  11747. VALIGN="TOP"
  11748. WIDTH="95%"
  11749. ><P
  11750. > A major exception to this rule is the
  11751. United Kingdom, which is `GB' in the ISO 3166, but `UK' for most email
  11752. addresses.</P
  11753. ></TD
  11754. ></TR
  11755. ><TR
  11756. ><TD
  11757. ALIGN="LEFT"
  11758. VALIGN="TOP"
  11759. WIDTH="5%"
  11760. ><A
  11761. NAME="FTN.AEN1944"
  11762. HREF="#AEN1944"
  11763. ><SPAN
  11764. CLASS="footnote"
  11765. >[34]</SPAN
  11766. ></A
  11767. ></TD
  11768. ><TD
  11769. ALIGN="LEFT"
  11770. VALIGN="TOP"
  11771. WIDTH="95%"
  11772. ><P
  11773. >Some such files include:
  11774. <TT
  11775. CLASS="FILENAME"
  11776. >airport</TT
  11777. >, <TT
  11778. CLASS="FILENAME"
  11779. > birthtoken</TT
  11780. >, <TT
  11781. CLASS="FILENAME"
  11782. >eqnchar</TT
  11783. >, <TT
  11784. CLASS="FILENAME"
  11785. > getopt</TT
  11786. >, <TT
  11787. CLASS="FILENAME"
  11788. >gprof.callg</TT
  11789. >, <TT
  11790. CLASS="FILENAME"
  11791. > gprof.flat</TT
  11792. >, <TT
  11793. CLASS="FILENAME"
  11794. >inter.phone</TT
  11795. >, <TT
  11796. CLASS="FILENAME"
  11797. > ipfw.samp.filters</TT
  11798. >,
  11799. <TT
  11800. CLASS="FILENAME"
  11801. > ipfw.samp.scripts</TT
  11802. >, <TT
  11803. CLASS="FILENAME"
  11804. >keycap.pcvt</TT
  11805. >, <TT
  11806. CLASS="FILENAME"
  11807. > mail.help</TT
  11808. >, <TT
  11809. CLASS="FILENAME"
  11810. >mail.tildehelp</TT
  11811. >, <TT
  11812. CLASS="FILENAME"
  11813. > man.template</TT
  11814. >,
  11815. <TT
  11816. CLASS="FILENAME"
  11817. >map3270</TT
  11818. >, <TT
  11819. CLASS="FILENAME"
  11820. > mdoc.template</TT
  11821. >,
  11822. <TT
  11823. CLASS="FILENAME"
  11824. >more.help</TT
  11825. >, <TT
  11826. CLASS="FILENAME"
  11827. > na.phone</TT
  11828. >,
  11829. <TT
  11830. CLASS="FILENAME"
  11831. >nslookup.help</TT
  11832. >, <TT
  11833. CLASS="FILENAME"
  11834. > operator</TT
  11835. >,
  11836. <TT
  11837. CLASS="FILENAME"
  11838. >scsi_modes</TT
  11839. >, <TT
  11840. CLASS="FILENAME"
  11841. > sendmail.hf</TT
  11842. >,
  11843. <TT
  11844. CLASS="FILENAME"
  11845. >style</TT
  11846. >, <TT
  11847. CLASS="FILENAME"
  11848. > units.lib</TT
  11849. >,
  11850. <TT
  11851. CLASS="FILENAME"
  11852. >vgrindefs</TT
  11853. >, <TT
  11854. CLASS="FILENAME"
  11855. > vgrindefs.db</TT
  11856. >,
  11857. <TT
  11858. CLASS="FILENAME"
  11859. >zipcodes</TT
  11860. >&#13;</P
  11861. ></TD
  11862. ></TR
  11863. ><TR
  11864. ><TD
  11865. ALIGN="LEFT"
  11866. VALIGN="TOP"
  11867. WIDTH="5%"
  11868. ><A
  11869. NAME="FTN.AEN2042"
  11870. HREF="#AEN2042"
  11871. ><SPAN
  11872. CLASS="footnote"
  11873. >[35]</SPAN
  11874. ></A
  11875. ></TD
  11876. ><TD
  11877. ALIGN="LEFT"
  11878. VALIGN="TOP"
  11879. WIDTH="95%"
  11880. ><P
  11881. >Generally, source should not be built within this hierarchy.</P
  11882. ></TD
  11883. ></TR
  11884. ><TR
  11885. ><TD
  11886. ALIGN="LEFT"
  11887. VALIGN="TOP"
  11888. WIDTH="5%"
  11889. ><A
  11890. NAME="FTN.AEN2209"
  11891. HREF="#AEN2209"
  11892. ><SPAN
  11893. CLASS="footnote"
  11894. >[36]</SPAN
  11895. ></A
  11896. ></TD
  11897. ><TD
  11898. ALIGN="LEFT"
  11899. VALIGN="TOP"
  11900. WIDTH="95%"
  11901. ><P
  11902. >This standard does not currently incorporate the TeX Directory
  11903. Structure (a document that describes the layout TeX files and
  11904. directories), but it may be useful reading. It is located at
  11905. <A
  11906. HREF="ftp://ctan.tug.org/tex/"
  11907. TARGET="_top"
  11908. >ftp://ctan.tug.org/tex/</A
  11909. ></P
  11910. ></TD
  11911. ></TR
  11912. ><TR
  11913. ><TD
  11914. ALIGN="LEFT"
  11915. VALIGN="TOP"
  11916. WIDTH="5%"
  11917. ><A
  11918. NAME="FTN.AEN2244"
  11919. HREF="#AEN2244"
  11920. ><SPAN
  11921. CLASS="footnote"
  11922. >[37]</SPAN
  11923. ></A
  11924. ></TD
  11925. ><TD
  11926. ALIGN="LEFT"
  11927. VALIGN="TOP"
  11928. WIDTH="95%"
  11929. ><P
  11930. >For example, <TT
  11931. CLASS="FILENAME"
  11932. >/usr/share/man/man1/ls.1</TT
  11933. > is
  11934. formatted into <TT
  11935. CLASS="FILENAME"
  11936. >/var/cache/man/cat1/ls.1</TT
  11937. >, and
  11938. <TT
  11939. CLASS="FILENAME"
  11940. >/usr/X11R6/man/&lt;locale&gt;/man3/XtClass.3x</TT
  11941. > into
  11942. <TT
  11943. CLASS="FILENAME"
  11944. >/var/cache/man/X11R6/&lt;locale&gt;/cat3/XtClass.3x</TT
  11945. >.</P
  11946. ></TD
  11947. ></TR
  11948. ><TR
  11949. ><TD
  11950. ALIGN="LEFT"
  11951. VALIGN="TOP"
  11952. WIDTH="5%"
  11953. ><A
  11954. NAME="FTN.AEN2295"
  11955. HREF="#AEN2295"
  11956. ><SPAN
  11957. CLASS="footnote"
  11958. >[38]</SPAN
  11959. ></A
  11960. ></TD
  11961. ><TD
  11962. ALIGN="LEFT"
  11963. VALIGN="TOP"
  11964. WIDTH="95%"
  11965. ><P
  11966. >An important difference between this version of this standard and
  11967. previous ones is that applications are now required to use a
  11968. subdirectory of <TT
  11969. CLASS="FILENAME"
  11970. >/var/lib</TT
  11971. >. </P
  11972. ><P
  11973. ></P
  11974. ></TD
  11975. ></TR
  11976. ><TR
  11977. ><TD
  11978. ALIGN="LEFT"
  11979. VALIGN="TOP"
  11980. WIDTH="5%"
  11981. ><A
  11982. NAME="FTN.AEN2381"
  11983. HREF="#AEN2381"
  11984. ><SPAN
  11985. CLASS="footnote"
  11986. >[39]</SPAN
  11987. ></A
  11988. ></TD
  11989. ><TD
  11990. ALIGN="LEFT"
  11991. VALIGN="TOP"
  11992. WIDTH="95%"
  11993. ><P
  11994. >This hierarchy should contain files stored in
  11995. <TT
  11996. CLASS="FILENAME"
  11997. >/var/db</TT
  11998. > in current BSD releases. These include
  11999. <TT
  12000. CLASS="FILENAME"
  12001. >locate.database</TT
  12002. > and
  12003. <TT
  12004. CLASS="FILENAME"
  12005. >mountdtab</TT
  12006. >, and the kernel symbol database(s).</P
  12007. ></TD
  12008. ></TR
  12009. ><TR
  12010. ><TD
  12011. ALIGN="LEFT"
  12012. VALIGN="TOP"
  12013. WIDTH="5%"
  12014. ><A
  12015. NAME="FTN.AEN2396"
  12016. HREF="#AEN2396"
  12017. ><SPAN
  12018. CLASS="footnote"
  12019. >[40]</SPAN
  12020. ></A
  12021. ></TD
  12022. ><TD
  12023. ALIGN="LEFT"
  12024. VALIGN="TOP"
  12025. WIDTH="95%"
  12026. ><P
  12027. >Then, anything wishing to use <TT
  12028. CLASS="FILENAME"
  12029. >/dev/ttyS0</TT
  12030. >
  12031. can read the lock file and act accordingly (all locks in
  12032. <TT
  12033. CLASS="FILENAME"
  12034. >/var/lock</TT
  12035. > should be world-readable).</P
  12036. ></TD
  12037. ></TR
  12038. ><TR
  12039. ><TD
  12040. ALIGN="LEFT"
  12041. VALIGN="TOP"
  12042. WIDTH="5%"
  12043. ><A
  12044. NAME="FTN.AEN2437"
  12045. HREF="#AEN2437"
  12046. ><SPAN
  12047. CLASS="footnote"
  12048. >[41]</SPAN
  12049. ></A
  12050. ></TD
  12051. ><TD
  12052. ALIGN="LEFT"
  12053. VALIGN="TOP"
  12054. WIDTH="95%"
  12055. ><P
  12056. >Note that <TT
  12057. CLASS="FILENAME"
  12058. >/var/mail</TT
  12059. > may be a symbolic link to
  12060. another directory.</P
  12061. ></TD
  12062. ></TR
  12063. ><TR
  12064. ><TD
  12065. ALIGN="LEFT"
  12066. VALIGN="TOP"
  12067. WIDTH="5%"
  12068. ><A
  12069. NAME="FTN.AEN2469"
  12070. HREF="#AEN2469"
  12071. ><SPAN
  12072. CLASS="footnote"
  12073. >[42]</SPAN
  12074. ></A
  12075. ></TD
  12076. ><TD
  12077. ALIGN="LEFT"
  12078. VALIGN="TOP"
  12079. WIDTH="95%"
  12080. ><P
  12081. ><TT
  12082. CLASS="FILENAME"
  12083. >/var/run</TT
  12084. > should be unwritable for unprivileged
  12085. users (root or users running daemons); it is a major security problem
  12086. if any user can write in this directory.</P
  12087. ></TD
  12088. ></TR
  12089. ><TR
  12090. ><TD
  12091. ALIGN="LEFT"
  12092. VALIGN="TOP"
  12093. WIDTH="5%"
  12094. ><A
  12095. NAME="FTN.AEN2493"
  12096. HREF="#AEN2493"
  12097. ><SPAN
  12098. CLASS="footnote"
  12099. >[43]</SPAN
  12100. ></A
  12101. ></TD
  12102. ><TD
  12103. ALIGN="LEFT"
  12104. VALIGN="TOP"
  12105. WIDTH="95%"
  12106. ><P
  12107. >UUCP lock files must be placed in <TT
  12108. CLASS="FILENAME"
  12109. >/var/lock</TT
  12110. >. See
  12111. the above section on <TT
  12112. CLASS="FILENAME"
  12113. >/var/lock</TT
  12114. >. </P
  12115. ></TD
  12116. ></TR
  12117. ><TR
  12118. ><TD
  12119. ALIGN="LEFT"
  12120. VALIGN="TOP"
  12121. WIDTH="5%"
  12122. ><A
  12123. NAME="FTN.AEN2582"
  12124. HREF="#AEN2582"
  12125. ><SPAN
  12126. CLASS="footnote"
  12127. >[44]</SPAN
  12128. ></A
  12129. ></TD
  12130. ><TD
  12131. ALIGN="LEFT"
  12132. VALIGN="TOP"
  12133. WIDTH="95%"
  12134. ><P
  12135. >NIS should not be confused with Sun NIS+, which uses a different
  12136. directory, <TT
  12137. CLASS="FILENAME"
  12138. >/var/nis</TT
  12139. >.</P
  12140. ></TD
  12141. ></TR
  12142. ></TABLE
  12143. ></BODY
  12144. ></HTML
  12145. >