÷ƒ’Ą;č TeX output 2003.11.22:1537‹’’’’ Ū_2 ż ~? ՁĮ żZ2’óžÖėI½q½qecss2074»Linux–fŃADSM“Mini-Ho‘’wmwtoŽ¤ ®„ŲcÕĮGŽŽ”ó 1ź± ecrm1000¹Thomas–U Køč€önig,“óqLĖ ectt1000¼Thomas.Koenig@ciw.uni-karlsruhe.deŽ”¹V‘’*øertaald–U doGor:‘q€Ellen“Bokhorst,“¼bokkie@nl.linux.org’©bG¹v,“15“jan“1997Ž”Ÿ&°–óŌóŒ6 ecss1000½In“dit“došGcument“w•øčo“rdt–óŌb˜eschreven“ho˜e“een“client“te“installeren“en“geb•øčruik“en‘óŌvo˜o“r–óŌhet“commerci€ėle“ADSMŽ”backupsysteem–U onder“Linux/i386.Ž©(Ąœó&Lt$ffffecbx1440æInhoudsopga•cv“eŽ¤Ųó]fŒ ecbx1000Ą1Ž‘’In®>troQĀductie’ˆ}81ŽŽ”2Ž‘’Installeren–Õv‘’\|an“de“iBCS“moQĀdule’ Fļ1ŽŽ”3Ž‘’Installeren–Õv‘’\|an“de“ADSM“clien®>t’!72ŽŽ”4Ž‘’Uitvš®>oQĀeren–Õv‘’\|an“de“clien˜t’K(*3ŽŽ”5Ž‘’Bek®>ende‘Õproblemen’]µ:3ŽŽ¦æ1Ž‘ĮInctropœductieŽŸæ:¹ADSM‘ŁŌis–Ś9een“op“het“net•øčw“erk–Ś9gebaseerd“bacšøčkupsysteem,‘;het“w˜ordt“v˜erk˜oGc˜h˜t“došGor“IBM,“en“is“do˜or“vøčeelŽ¤ ®organisaties–9‘in“gebruik.‘hPEr“zijn“clienšøčts“v˜oGor“een“grote“div˜ersiteit“aan“systemen“(v˜ersc˜hillende“UNIX‘9Šmerk˜en,Ž”Windo•øčws,›U No“v“ell,˜Mac,˜Windo“ws˜NT).˜Helaas˜is˜er˜tijdens˜dit˜sc“hrijv“en˜geen˜v“ersie˜v“oGor˜Lin“ux.Ž©Ų¼Je–õnzal“gebruik“moGeten“makšøčen“v‘’qŠan“de“SCO‘õUbinary‘’*ø,‘‘en“de“iBCS2-em˜ulator“moGeten“installeren“v˜oGor“het“draaienŽ”v‘’qŠan–U ADSM.“Deze“bGescšøčhrijving“is“v˜oGor“ADSM“v2r1.Ž¦Tijdens–U dit“sc•øčhrijv“en,–U bšGen“ik“me“alleen“b˜ewust“v‘’qŠan“een“všøčersie“die“met“de“i386“v˜ersie“v‘’qŠan“Lin˜ux“w˜erkt.ŽŸ(Ąœæ2Ž‘ĮInstalleren–G\v‘’Ęan“de“iBCS“mopœduleŽŸæ:¹De–,*iBCS2“mošGdule“is“b˜escšøčhikbaar“v‘’qŠanaf“ó½HŠƒ ecti1000Įftp://tsx-11.mit.e–’}/du/pub/linux/BET‘’;ČA/ib“cs2¹.‘ öŸGebruik–,*v˜oGor“k˜er-Ž”nelvšøčersie–ä¶1.2.13“¼ibcs-1.2-950721.tar.gz¹,‘H›pak“het“uit“en“pas“de“patc˜hes“¼ibcs-1.2-950808.patch1“¹enŽ”¼ibcs-1.2-950828.patch2–¹toGe.‘WŃJe“kunšøčt“dan“¼"make"“¹in˜tikk˜en“en“de“iBCS‘žmoGdules“installeren“met“¼"insmod"¹.Ž”Haal–ˆvšøčoGor“een“2.0“k˜ernelv˜ersie“¼ibcs-2.0-960610.tar.gz“¹op,‘Aćpak“het“uit“naar“een“gesc˜hikte“plaats,‘Aćc˜hdirŽ”naar–U die“directory‘’*ø,“en“pas“de“všøčolgende“patc˜h“toGe:ŽŸŲ¼”¼---–?¬iBCSemul/ipc.c.orig“Wed“Jan“15“21:32:15“1997Ž”+++–?¬iBCSemul/ipc.c‘~Wed“Jan“15“21:32:31“1997Ž”@@–?¬-212,7“+212,7“@@Ž”‘)ż`switch–?¬(command)“{Ž”‘SśĄcase‘?¬U_SEMCTL:Ž”‘}ų cmd–?¬=“ibcs_sem_trans(arg3);Ž”-‘xøtarg4–?¬=“(union“semun“*)get_syscall_parameter“(regs,“4);ŽŽŽŒ‹* Ū_2 ż ~?Ÿ„€ÕĮGŽĄ3.‘ń8Installeren–Õv‘’\|an“de“ADSM“clien®>t’ųĖ¹2ŽŽ ՁĮ żVƍ¼+‘xøtarg4–?¬=“(union“semun“*)(((unsigned“long“*)“regs->esp)“+“(5));Ž¤ ®‘}ų is_p–?¬=“(struct“ibcs_semid_ds“*)get_fs_long(arg4->buf);Ž”–?¬#ifdef“IBCS_TRACEŽ”‘}ų if–?¬((ibcs_trace“&“TRACE_API)“||“ibcs_func_p->trace)Ž©Wx¹K•øčopieer›$āv“erv“olgens˜¼CONFIG.i386˜¹naar˜¼CONFIG¹,˜en˜t“yp˜¼make¹.‘akMaak˜de˜b•Geno“digde˜apparaatb“estanden˜aan˜alsŽ”je–U die“nog“niet“hebt“došGor“het“uitvøčo˜eren“v‘’qŠanŽ¦¼#–?¬cd“/devŽ”#–?¬ln“-s“null“XORŽ”#–?¬ln“-s“null“X0RŽ”#–?¬mknod“socksys“c“30“0Ž”#–?¬mknod“spx“c“30“1ŽŸ(¤Źæ3Ž‘ĮInstalleren–G\v‘’Ęan“de“ADSM“clienctŽŸæ:¹De–שSCO-binary“wšøčordt“in“drie“tar-bGestanden,‘šĮof“op“disks“gelev˜erd.‘G®Ga“naar“de“roGot-directory‘’*ø,‘šĮstel“je“umask“inŽ”o•øčv“ereenk“omstig–D je“bšGeleid,‘Guen“pak“ze“v‘’qŠanøčuit“daar“(als“ro˜ot)“uit.‘kĪIn“de“Directory“/tmp,‘Guvind“je“een“installatie-Ž”script;–U vøčoGer“dat“uit.ŽŸŲ¼Je–Ž“zal“met“de“hand“¼/usr/adsm/dsm.sys“¹en“¼/usr/adsm/dsm.opt“¹moGeten“wijzigen.‘ŲIn“¼dsm.sys¹,‘œļzijn“de“v‘’qŠanŽ”bGelang–U zijnde“op“te“gevøčen“regels:Ž¤7'ĄServ®>ernameŽŽŽ©Ć‘¹De–U naam“v‘’qŠan“de“servøčerŽ”ĄTCPServ®>eraddressŽŽŽ¦‘¹De–U fully“qualied“hostnaam“v‘’qŠan“de“servøčerŽ”ĄNODenameŽŽŽ¦‘¹Je–U eigen“hostnaamŽ”In–U ¼dsm.opt¹,“moGet“je“opgevøčenŽ”ĄServ®>erŽŽŽ¦‘¹Als‘U hiervøčoGorŽ”ĄF‘’ ŗollo•®>wsym“bQĀolicŽŽŽ¦‘¹Of–U je“wšøčel“of“niet“sym˜bGolisc˜he“links“wilt“v˜olgen“(in“het“algemeen“niet“v˜erstandig)Ž”ĄSUbQĀdirŽŽŽ¦‘¹Of–U je“een“bacšøčkup“wilt“mak˜en“v‘’qŠan“subGdirectory's“(meestal“wil“je“dat“w˜el)Ž”ĄdomainŽŽŽ¦‘¹De–U bGestandssystemen“wšøčaarv‘’qŠan“je“een“bac˜kup“wiltŽ”Je–ąÉzal“dan“een“SCO-compatibšGel“¼/etc/mnttab“¹aan“mo˜eten“makšøčen“v‘’qŠan˜uit“je“¼/etc/fstab¹.‘zJe“kun˜t“hierv˜oGorŽŸ ®het–U všøčolgende“P˜erl-script“¼fstab2mnttab“¹gebruik˜en.ŽŽŽŒ‹ " Ū_2 ż ~?Ÿ„€ÕĮGŽĄ4.‘ń8Uitvš®>oQĀeren–Õv‘’\|an“de“clien˜t’I¾¹3ŽŽ ՁĮ żVƉffÕĮGŸ ?œ‘óqLĖ ectt0900Ć#!/usr/bin/perlŽ¤ Š=”‘$mnttab_struct–¹N=“"a32“a32“I“L";Ž””‘open(MTAB,–¹N"/etc/mtab")“||“die“"Kan“/etc/mtab“niet“openen:“$!\n";Ž”‘open(MNTTAB,–¹N">/etc/mnttab")“||“die“"Kan“/etc/mnttab“niet“openen:“$!\n";Ž””‘while()‘¹N{Ž”‘+å:next–¹Nif“/pid/;Ž”‘+å:chop;Ž”‘+å:/^(\S*)\s(\S*)\s(\S*)\s.*$/;Ž”‘+å:$device–¹N=“$1;Ž”‘+å:$mountpt–¹N=“$2;Ž”‘+å:$fstype–¹N=“$3;Ž”‘+å:if($fstype–¹Nne“"nfs"“&&“$fstype“ne“"proc")“{Ž”‘>Źr$mnttab_rec‘¹N=Ž”‘QÆŖpack($mnttab_struct,–¹N$device,“$mountpt,“0x9d2f,“time());Ž”‘>Źrsyswrite(MNTTAB,–¹N$mnttab_rec,“72);Ž”‘>Źrprint–¹N"Entry“gemaakt“voor:“$device“$mountpt“$fstype\n";Ž”‘+å:}Ž”‘}Ž””‘close(MNTTAB);Ž”‘exit‘¹N0;ŽŸ¦R‰ffÕĮGŸ ȍ¹Je–U hošGeft“vøčo˜or“deze“clienšøčts“geen“shared“library's“te“installeren,“alles“is“statisc˜h“gelinkt.Ž©(Ąœæ4Ž‘ĮUitvšcopœeren–G\v‘’Ęan“de“clien˜tŽŸæ:¹Er–2Ózijn“t•øčw“ee›2Óclien“ts,–j?¼dsm¹,“een˜X11-inøčterface,“en˜¼dsmc¹,“een˜opGdrac•øčh“tregel˜in“terface.‘ ˜De˜w“erknemers˜in˜hetŽ¤ ®computercenšøčtrum–Šśzullen“je“aangev˜en“hoGe“het“te“activ˜eren.‘å W‘’*øaarsc˜hijnlijk“zal“een“opstartscript“dat“tijdensŽ”het›U b•Go“oten˜w•øčordt˜uitgev“o•Gerd˜no“dig˜zijn:ŽŸŲ¼¼dsmc–?¬schedule“-quiet“2>&1“>/dev/null“&Ž¦æ5Ž‘ĮBekcende‘G\problemenŽŸæ:¹Helaas–QĒk‘’qŠan“SCO‘QĘalleen“omgaan“met“hostnamen“die“uit“niet“meer“dan“ac•øčh“t›QĒtek“ens˜bGestaan.‘pbAls˜je˜hostnaamŽ”langer–éĶis,›’Dof“fully“qualied,˜dan“k‘’qŠan“het“zijn“dat“je“de“hostnaam“in“de“¼NODename“¹regel“in“¼/usr/adsm/dsm.sysŽ”¹op–U moGet“gevøčen.ŽŸŲ¼Als–j‰je“gebruik“maakt“v›’qŠan“de“v˜ariabšGele“DISPLA‘’*øY‘jB,“zan“zal“je“de“qualied“hostnaam“aan“mo˜eten“levøčerenŽ”(d.w.z.‘q€¼DISPLAY=host.full.do.main:0–U ¹in“plaats“v‘’qŠan“¼DISPLAY=host:0¹).ŽŽŽŒųūƒ’Ą;čŪ_2ÕĮGóqLĖ ectt0900ó½HŠƒ ecti1000ó]fŒ ecbx1000ó&Lt$ffffecbx1440óŒ6 ecss1000óqLĖ ectt1000óžÖėI½q½qecss2074ó 1ź± ecrm1000łžßßßßßßß