÷ƒ’À;è TeX output 2003.11.26:1324‹ÿÿÿÿ Û_2 ý ~? ÕÁ ýZ2ÿóþÖëI½q½qecss2074»Linux–fÑADSM“Mini-Ho‘ÿwmwtoŽ¤ ®„ØcÕÁGŽŽ¡ó 1ê± ecrm1000¹di–U Thomas“K¸è€önig,“óqLË ectt1000¼Thomas.Koenig@ciw.uni-karlsruhe.de‘Nï ¹$Date:‘q€1997/01/15“20:36:34“$Ž¡Ÿ&°–ª]óŒ6 ecss1000½Questo“došGcumento“descrive“l'installazione“e“l'uso“di“un“client“p˜er“il“sistema“di“backup“commerciale“ADSM‘ªGp˜erŽ¡Linux/i386.Ž©(Àœó&Lt$ffffecbx1440¿Con•cten“tsŽ¤Øó]fŒ ecbx1000À1Ž‘ÿIn®>troQÂduzione’€Ó1ŽŽ¡2Ž‘ÿInstallazione–Õdel“moQÂdulo“iBCS2’"u1ŽŽ¡3Ž‘ÿInstallazione–Õdel“clien®>t“ADSM’)„”2ŽŽ¡4Ž‘ÿF‘ÿ ºar–Õgirare“il“clien®>t’eòï3ŽŽ¡5Ž‘ÿProblemi‘Õnoti’{h´3ŽŽ¦¿1Ž‘ÁInctropœduzioneŽŸ¿:¹ADSM›ß€è–ßun“sistema“di“baskup“basato“sulla“rete,‘Bv¸èenduto“dalla“IBM˜ed“usato“in“molte“organizzazioni.Ž¤ ®Esistono–Rclien¸èt“pGer“una“grande“v›ÿqÐariet€à“di“sistemi“(v˜ari“tipi“di“UNIX,“Windo•¸èws,›SNo“v“ell,˜Mac,˜Windo“ws‘RNT).Ž¡Sofrtunatamenš¸ète,–U nel“momen˜to“in“cui“sto“scriv˜endo,“non“esiste“una“v˜ersione“nativ‘ÿqÐa“pGer“Lin˜ux.Ž©ؼPš¸èer–‡iusare“ADSM‘‡\do˜vrete“usare“il“binario“SCO,“ed“installare“l'em˜ulatore“iBCS2.‘[La“descrizione“c˜he“segue“€èŽ¡v‘ÿqÐalida–U pGer“ADSM“v2r1.Ž¦Nel–9Bmomenš¸èto“in“cui“sto“scriv˜endo,‘>Õc˜he“io“sappia“esiste“solo“una“v˜ersione“c˜he“funziona“con“la“v˜ersione“i386“diŽ¡Lin¸èux.ŽŸ(Àœ¿2Ž‘ÁInstallazione–G\del“mopœdulo“iBCS2ŽŸ¿:¹Il–[ÓmošGdulo“iBCS2“€è“disp˜onibile“su“ó½HЃ ecti1000Áftp://tsx-11.mit.e–ÿ}/du/pub/linux/BET‘ÿ;ÈA/ib“cs2–[Ó¹.‘…šSe“usate“il“k¸èernel“1.2.13,Ž¡scaricate–FŽ¼ibcs-1.2-950721.tar.gz¹,‘éspaccš¸èhettatelo“ed“applicate“le“patc˜h“¼ibcs-1.2-950808.patch1“¹eŽ¡¼ibcs-1.2-950828.patch2¹.‘q€P¸èotete–U pšGoi“digitare“¼"make"“¹ed“installare“il“mo˜dulo“iBCS2“con“¼"insmod"¹.Ž¦Pš¸èer–áìi“k˜ernel“2.0,›scaricate“¼ibcs-2.0-960610.tar.gz¹,˜spacc¸èhettatelo“in“una“directory“adatta,˜fate“c¸èhdir“inŽ¡quella–U directory“ed“applicate“questa“patc¸èh:ŽŸؼ¡¼---–?¬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.‘ñ8Installazione–Õdel“clien®>t“ADSM’'a(¹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)Ž¤ؼ¹P¸èoi,–U copiate“¼CONFIG.i386“¹in“¼CONFIG¹,“e“digitate“¼make¹.Ž©ؼSe–U non“li“a•¸èv“ete–U ancora,“create“i“le“di“device“necessari“eseguendoŽ¡¼#–?¬cd“/devŽ¤ ®#–?¬ln“-s“null“XORŽ¡#–?¬ln“-s“null“X0RŽ¡#–?¬mknod“socksys“c“30“0Ž¡#–?¬mknod“spx“c“30“1ŽŸ(Àœ¿3Ž‘ÁInstallazione–G\del“clienct“ADSMŽŸ¿:¹Il–ìçle“binario“SCO‘ìÀ€è“distribuito“sotto“forma“di“tre“le“tar“o“tre“disc¸èhi.‘8ÖSpšGostatevi“nella“directory“di“ro˜ot,Ž¡impGostate–dgli“umask“a“seconda“delle“vš¸èostre“preferenze“e“spacc˜hettatele“da“l€ì“(come“roGot).‘¾KNella“directoryŽ¡/tmp›U tro•¸èv“erete˜uno˜script˜di˜installazione;˜eseguitelo.Ž¦Do¸èvrete–®•quindi“moGdicare“a“mano“¼/usr/adsm/dsm.sys“¹and“¼/usr/adsm/dsm.opt¹.‘}àIn“¼dsm.sys¹,‘Äóle“linee“im-Ž¡pšGortan¸èti–U da“sp˜ecicare“sono:ŽŸؼÀServ®>ernameŽŽŽ¤®‘¹Il–U nome“del“serv¸èerŽ©®ÀTCPServ®>eraddressŽŽŽ¡‘¹L'hostname–U del“serv¸èer“completo“di“dominioŽ¦ÀNODenameŽŽŽ¡‘¹Il–U v¸èostro“hostnameŽ¤ؼIn–U ¼dsm.opt¹,“do¸èvrete“spGecicareŽ¡ÀServ®>erŽŽŽ¤®‘¹Come‘U sopraŽ¦ÀF‘ÿ ºollo•®>wsym“bQÂolicŽŽŽ¡‘¹Se–U seguire“o“no“i“link“sim¸èbGolici“(in“generale“non“€è“una“buona“idea)Ž¦ÀSUbQÂdirŽŽŽ¡‘¹Se–U fare“o“no“il“bacš¸èkup“delle“sottoGdirectory“(in“genere“v˜orrete“farlo)Ž¦ÀdomainŽŽŽ¡‘¹I–U lesystem“di“cui“fare“il“bac¸èkupŽŸؼDoš¸èvrete–ƒpGoi“creare“un“¼/etc/mnttab“¹SCO-compatibile.‘ û}P˜er“farlo“pGotete“usare“il“seguen˜te“script“P˜erl,ŽŸ ®¼fstab2mntab¹.ŽŽŽŒ‹ [ Û_2 ý ~?Ÿ„€ÕÁGŽÀ4.‘ñ8F‘ÿ ºar–Õgirare“il“clien®>t’cσ¹3ŽŽ ÕÁ ýV¯‰ffÕÁGŸ ?œ‘óqLË ectt0900Ã#!/usr/bin/perlŽ¤ Š=¡‘$mnttab_struct–¹N=“"a32“a32“I“L";Ž¡¡‘open(MTAB,–¹N"/etc/mtab")“||“die“"Non“posso“aprire“/etc/mtab:“$!\n";Ž¡‘open(MNTTAB,–¹N">/etc/mnttab")“||“die“"Non“posso“aprire“/etc/mnttab:“$!\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"Made“entry“for:“$device“$mountpt“$fstype\n";Ž¡‘+å:}Ž¡‘}Ž¡¡‘close(MNTTAB);Ž¡‘exit‘¹N0;ŽŸ¦R‰ffÕÁGŸ ȹPš¸èer–U usare“questi“clien˜t“non“a˜v˜ete“bisogno“di“installare“librerie“condivise;“sono“link‘ÿqÐate“tutte“staticamen˜te.Ž©(Àœ¿4Ž‘ÁF‘þ®(ar–G\girare“il“clienctŽŸ¿:¹Esistono–-Edue“clienš¸èt,–5=¼dsm¹,“c˜he–-Eha“un'in˜terfaccia“X11,›5=e“¼dsmc¹,˜cš¸èhe“la˜v˜ora“da“linea“di“comando.‘d7Il“v˜ostro“cen˜troŽ¤ ®di–áàcomputer“vi“dir€à“come“farlo“girare.‘ÀCi“sar€à“probabilmenš¸ète“bisogno“di“qualc˜he“script“all'a˜vvio,‘come“adŽ¡esempioŽŸؼ¼dsmc–?¬schedule“-quiet“2>&1“>/dev/null“&Ž¦¿5Ž‘ÁProblemi‘G\notiŽŸ¿:¹Sfortunatamenš¸ète,‘ÑsSCO‘¸|pu€ò–¸•trattare“solo“hostname“non“pi€ù“lunghi“di“otto“caratteri.‘›àSe“il“v˜ostro“hostnameŽ¡€è–Höpi€ù“lungo,›Keo“se“spGecicate“il“dominio“completo,˜do¸èvrete“spGecicare“l'hostname“nella“linea“¼NODename“¹line“inŽ¡¼/usr/adsm/dsm.sys¹.ŽŸؼSe–Übusate“la“v‘ÿqÐariabile“DISPLA‘ÿ*¸Y,“do¸èvrete“dare“l'hostname“completo“(ad“esempioŽ¡¼DISPLAY=host.full.do.main:0›U ¹in•¸èv“ece˜di˜¼DISPLAY=host:0¹).ŽŽŽŒø©ƒ’À;èÛ_2ÕÁGóqLË ectt0900ó½HЃ ecti1000ó]fŒ ecbx1000ó&Lt$ffffecbx1440óŒ6 ecss1000óqLË ectt1000óþÖëI½q½qecss2074ó 1ê± ecrm1000ùèßßßßß