<title>MacGeneration.com</title> <link rel="Publisher" href="mailto:contact@macgeneration.com"> <link rel="home" href="/"> <meta http-equiv="Pragma" content="no-cache"> <meta name="Publisher" content="Mac Generation"> <meta name="keywords" content="Mac, mac, Macintosh, macintosh, Apple, apple, imac, Imac, iMac, G3, g3, G4, g4, cube, Powermac, PowerMac, powermac, ibook, Ibook, iBook, Powerbook, powerbook, Mac Os, mac os, Acualit&eacute;, actualit&eacute;, News, news, site, jeux, referencement, r&eacute;f&eacute;rencement, macnewstv, MacNewsTV"> <meta name="description" content="MacGeneration est le premier site Mac francophone d'actualit&eacute; continue. Constamment mis &agrave; jour il fait partie du Macintosh News Network, le plus grand r&eacute;seau d'information Mac americain."> <link href="/newstyle.css" rel="styleSheet" type="text/css"> <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" background="/interface/fond.gif" bgcolor="#ff4500" link="#191970" alink="#191970" vlink="#191970"> 	<table border="0" cellpadding="0" cellspacing="0" width="100%"> 		<tr height="74"> 			<td valign="middle" height="74" width="280"><img src="/interface/logo_v.gif" width="280" height="74" border="0"></td> 			<td valign="middle" height="74"> 				<center>         <a href='http://www.macgeneration.com/mgadds/adclick.php?bannerid=4&amp;zoneid=15&amp;source=&amp;dest=http%3A%2F%2Fwww.macpartner.fr' target='_blank' onMouseOver="self.status='Visitez le site de notre sponsor'; return true;" onMouseOut="self.status='';return true;"><img src='http://pub.macgeneration.com/pub/macpartner.gif' width='468' height='60' alt='Visitez le site de notre sponsor' title='Visitez le site de notre sponsor' border='0'></a><img src='http://www.macgeneration.com/mgadds/adlog.php?bannerid=4&amp;clientid=5&amp;zoneid=15&amp;source=&amp;block=0&amp;capping=0&amp;cb=0e53dc640072af9a436fc33d7fc3516c' width='0' height='0' alt='' style='width: 0px; height: 0px;'>        </center> 			</td> 		</tr> 		<tr height="27"> 			<td colspan="2" height="27"> 				<div align="left"> 							<script language="JavaScript"><!-- if (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 ))                                    || ((navigator.appName == "Microsoft Internet Explorer")                                    && (parseInt(navigator.appVersion) >= 4 ))) {                                    version = "supported";                            }                                    else {                                    version = "notsupported";                            }                            function WM_preloadImages() {                 /*                 WM_preloadImages()                 Loads images into the browser's cache for later use.                 Source: Webmonkey Code Library                 (http://www.hotwired.com/webmonkey/javascript/code_library/)                 Author: Nadav Savio                 Author Email: nadav@wired.com                 Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);                 */                   // Don't bother if there's no document.images                   if (document.images) {                     if (typeof document.WM == 'undefined'){                       document.WM = new Object();                     }                     document.WM.loadedImages = new Array();                     // Loop through all the arguments.                     var argLength = WM_preloadImages.arguments.length;                     for(arg=0;arg<argLength;arg++) {                       // For each arg, create a new image.                       document.WM.loadedImages[arg] = new Image();                       // Then set the source of that image to the current argument.                       document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];                     }                   }                 }                 WM_preloadImages('/interface/actu1.gif', '/interface/actu1h.gif', '/interface/actu2.gif', '/interface/actu2h.gif', '/interface/actu3.gif', '/interface/actu3h.gif', '/interface/actu4.gif', '/interface/actu4h.gif'); // --> 		</script>  <table border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="2" width="12"><img src="/interface/side.gif" width="12" height="27" border="0"></td> <td colspan="4"><img src="/interface/actualite.gif" width="516" height="14" border="0" usemap="#actualiteb5dd7059"></td> </tr> <tr> <td><a href="/mgnews/page2.php" onmouseover="document.pic1.src='/interface/actu1h.gif'" onmouseout="document.pic1.src='/interface/actu1.gif'"><img align="middle" src="/interface/actu1.gif" border="0" name="pic1" width="91" height="13"></a></td> <td><a href="/actu/dossiers" onmouseover="document.pic2.src='/interface/actu2h.gif'" onmouseout="document.pic2.src='/interface/actu2.gif'"><img align="middle" src="/interface/actu2.gif" border="0" name="pic2" width="60" height="13"></a></td> <td><a href="/mgnews/archives.php" onmouseover="document.pic4.src='/interface/actu4h.gif'" onmouseout="document.pic4.src='/interface/actu4.gif'"><img align="middle" src="/interface/actu4.gif" border="0" name="pic4" width="365" height="13"></a></td> </tr> </table><map name="actualiteb5dd7059"><area shape="rect" coords="428,0,516,12" href="http://www.macgamezone.com/"> <area shape="rect" coords="363,0,427,12" href="/tribumac"> <area shape="rect" coords="309,0,362,12" href="http://forums.macgeneration.com/"> <area shape="rect" coords="230,0,308,12" href="/macnewstv">   <area shape="rect" coords="193,0,229,12" href="/labo"> <area shape="rect" coords="117,0,192,13" href="/enpassant"> <area shape="rect" coords="52,0,116,12" href="/actu"> <area shape="rect" coords="0,0,51,12" href="/index.shtml"></map> 				</div> 			</td> 		</tr> 	</table> 	<table border="0" cellpadding="0" cellspacing="0"> 		<tr height="19"> 			<td width="10" height="19"><img src="/interface/espaceur.gif" width="1" height="19" border="0"></td> 			<td width="614" height="19"><span class='bourse'>Derni&egrave;re modification : Dimanche 20 Avril 2003 - 09:51 CEST - Action Apple : $13.12</span> 			</td> 			<td width="15" height="19"></td> 			<td height="19"></td> 		</tr> 		<tr height="10"> 			<td width="10" height="10"><img src="/interface/espaceur.gif" width="1" height="10" border="0"></td> 			<td width="614" height="10"></td> 			<td width="15" height="10"></td> 			<td height="10"></td> 		</tr> 		<tr> 			<td width="10"></td> 			<td width="614" valign="top"> 				       <table border="0" cellpadding="0" cellspacing="0">         <tr height="10">            <td valign="top" height="61" colspan="5"> 							<div align="center"> 								<p align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%"> 	<tr height="15" width="100%"> 		<td height="15" width="10"><img border="0" height="15" src="/cartouches/carre_actu.gif" width="10"></td> 		<td background="/cartouches/fond_bandeau.gif" height="15" nowrap width="100%" border="0"><span class="smalltxtbold">&nbsp;Dossiers</span></td> 		<td height="15" width="4"><img border="0" height="15" src="/cartouches/onglet_court.gif" width="5"></td> 	</tr> </table><br>                 <span class="textbold2">Mac OS X : fondements et architecture                  (partie 4)</span><br> 									<span class="text">Par <a href="http://www.validus.fr/" target="_blank">Validus formations</a><a href="mailto:simon@macgeneration.com"><br>                 </a></span></p> 							</div> 							             <div align="left" class="text">                <table width="550" border="0">                 <tr>                    <td>                      <div align="center"><img src="/actu/dossiers/macosx/img/repertoire_darwin.jpg" width="472" height="78" alt="Repertoire Darwin" name="Darwin"><br>                     </div>                   </td>                 </tr>                 <tr>                    <td>Comme nous l'avons souvent &eacute;voqu&eacute;, Mac OS                      X repose sur un noyau Unix. Ce dernier est constitu&eacute;                      &eacute;galement de diff&eacute;rents r&eacute;pertoires auxquels                      nous pouvons acc&eacute;der via l'utilitaire &quot;Terminal&quot;.<br>                     En tant qu'utilisateur Macintosh, nous ne sommes gu&egrave;re                      familiaris&eacute;s avec une navigation en mode commandes                      et les noms attribu&eacute;s aux diff&eacute;rents r&eacute;pertoires                      composants Darwin peuvent nous para&icirc;tre barbare. Toutefois,                      il para&icirc;t int&eacute;ressant, dans un premier temps,                      de d&eacute;couvrir comment est organis&eacute; le premier                      niveau de Darwin.<br>                     Pour ce faire, ouvrons l'utilitaire &quot;Terminal&quot; puis                      tapons la commande suivante : cd / ; ls<br>                     La fen&ecirc;tre suivante s'affiche :<br>                   </td>                 </tr>                 <tr valign="top">                    <td height="175">                      <div align="center"><img src="/actu/dossiers/macosx/img/macosx_terminal.jpg" width="350" height="175" alt="Mac OSX Terminal" name="OSX"><br>                     </div>                   </td>                 </tr>                 <tr valign="top">                    <td height="482">                      <p>Nous nous situons ici &agrave; la racine de Mac OS X, symbolis&eacute;                        par /, et repr&eacute;sentant le point de d&eacute;part                        de toute l'arborescence du syst&egrave;me.<br>                       Certains volumes ne nous sont pas &eacute;trang&eacute;s.                        En effet, c'est &agrave; ce niveau que se situe les r&eacute;pertoires                        Users, Library, System, Applications et Network.<br>                       A quoi correspondent maintenant les autres r&eacute;pertoires                        pr&eacute;sents :</p>                     <p><u>&#149; /Volumes :</u><br>                       Affiche les partitions de notre disque dur, les CD-Rom ou                        DVD pr&eacute;sents dans notre lecteur. La partition contenant                        Mac OS X n'est bien sur pas pr&eacute;sente dans ce r&eacute;pertoire.                        Mac OS X &eacute;tant repr&eacute;sent&eacute; &agrave; la racine.</p>                     <p><u>&#149; /etc : </u><br>                       Dossier de stockage des commandes et des fichiers de l'administrateur</p>                     <p><u>&#149; /dev :</u><br>                       Contient des fichiers permettant une reconnaissance du mat&eacute;riel,                        notamment des disques durs. Ainsi, des fichiers du type                        Disk0, Disk0s1 repr&eacute;sentent des drivers et contr&ocirc;leurs                        de disque dur.</p>                     <p><u>&#149; /bin :</u><br>                       Contient des commandes et programmes utilisables par tous                        les utilisateurs (copie de fichiers, cr&eacute;ation de                        r&eacute;pertoires par le Terminal)</p>                     <p><u>&#149; /sbin :</u><br>                       On y trouve &eacute;galement des commandes (informations                        sur le r&eacute;seau, filtrage de paquets IP) ainsi que                        diff&eacute;rentes ressources (fichier init pour le d&eacute;marrage)</p>                     <p><u>&#149; /var :</u><br>                       Compos&eacute; de plusieurs dossiers contenant des variables                        du syst&egrave;me. C'est notamment dans ce r&eacute;pertoire                        que se situe le r&eacute;pertoire local du compte root.</p>                     <p><u>&#149; /usr </u>: compos&eacute; de plusieurs sous dossiers                        regroupant &eacute;galement nombre de commandes. C'est notamment                        dans ce r&eacute;pertoire que nous trouvons la commande                        man (/usr/share/man) utilis&eacute;e pour afficher le manuel                        d'utilisation d'une commande.<br>                     </p>                     <p><u>&#149; mach, mach.sym, mach.kernel :</u> <br>                       Utilis&eacute; par la composante Mach de Darwin g&eacute;rant                        les ressources processeurs et le lien entre les &eacute;l&eacute;ments                        softwares et hardwares.<br>                       <u><br>                       &#149; Desktop DB, Desktop DF :</u><br>                       Repr&eacute;sentent des fichiers invisibles que les utilisateurs                        ne rencontrent pas en temps normal. Ils furent &agrave;                        l'origine cr&eacute;&eacute;s par le Desktop manager d'AppleShare                        2.0 sous le syst&egrave;me 6.0 afin de conserver certaines                        informations en compl&eacute;ment du fichier Desktop du                        Finder utilis&eacute; &agrave; l'&eacute;poque. Ils furent                        con&ccedil;us comme des bases de donn&eacute;es &agrave;                        haute performance afin de supporter des acc&egrave;s plus                        rapides aux informations sur les serveurs AppleShare.<br>                       Sous Syst&egrave;me 7, les fonctions du Desktop Manager                        furent incorpor&eacute;es au Finder avec le support du partage                        de fichiers. Les limites du Ressource Manager &eacute;taient                        largement d&eacute;pass&eacute;es en raison de l'ancien                        style de fichier Desktop bas&eacute; sur des ressources.                        Le fichier base de donn&eacute;es du Finder fut red&eacute;fini                        comme un fichier d'information en plage d'informations sous                        une forme plus rapide et plus efficace.<br>                       L'ensemble principal d'informations int&eacute;gr&eacute;                        aux fichiers Desktop DB et Desktop DF est la correspondance                        entre les informations d'affichage des ic&ocirc;nes pour                        les applications et les fichiers correspondants. Cela inclut                        les signatures des applications et les types de fichiers                        associ&eacute;s. Ces ensembles sont utilis&eacute;s par                        le Finder pour d&eacute;terminer quelle application lancer                        lors du double-clic sur un fichier et pour s'assurer qu'un                        fichier puisse &ecirc;tre ouvert par glisser/d&eacute;poser                        sur l'ic&ocirc;ne d'une application.<br>                       D'autres fichiers avec leurs propres informations d'ic&ocirc;nes                        voient g&eacute;n&eacute;ralement leurs correspondances                        d'ic&ocirc;nes int&eacute;gr&eacute;es dans cette base de                        donn&eacute;es. Plusieurs &quot;flags&quot; associ&eacute;s                        &agrave; chaque fichier (si un fichier est un alias ou un                        mod&egrave;le, est verrouill&eacute; ou non, visible ou                        non) sont contenus dans cette base de donn&eacute;es. D'autres                        informations, telles que les commentaires affich&eacute;s                        dans la fen&ecirc;tre &quot;Lire les informations&quot;,                        la position des ic&ocirc;nes dans les fen&ecirc;tres des                        dossiers du Finder et le positionnement des fen&ecirc;tres                        du Finder, sont &eacute;galement stock&eacute;es dans cette                        base de donn&eacute;es.<br>                       Ce sont ces fichiers qui sont reconstruits lors de la &quot;Reconstruction                        du bureau&quot;.</p>                     <p><u>&#149; /tmp :</u><br>                       Contient certains &eacute;l&eacute;ments temporaires et                        notamment un dossier portant le num&eacute;ro d'identifications                        du compte administrateur cr&eacute;e lors de l'assistant                        r&eacute;glages. Dossier contenant certaines proc&eacute;dures                        &agrave; effectuer au d&eacute;marrage (Cleanup at startup)</p>                     <p><a href="/actu/dossiers/macosx/systeme.shtml">Page pr&eacute;c&eacute;dente</a></p>                     </td>                 </tr>               </table>               <p>&nbsp;</p> 							</div> 							<div align="left" class="text"></div> 						</td>         </tr>         <tr height="10">            <td height="10" width="198" valign="top"></td>           <td width="10" height="10"></td>           <td width="199" height="10" valign="top"></td>           <td width="10" height="10"></td>           <td width="198" height="10" valign="top"></td>         </tr>         <tr height="10">            <td width="198" height="10" valign="top"></td>           <td width="10" height="10"></td>           <td width="199" height="10" valign="top"></td>           <td width="10" height="10"></td>           <td width="198" height="10" valign="top"></td>         </tr>         <tr>            <td valign="top" colspan="5">              <center> 	<div class="smalltxt">  	<p>&copy; 1999 - 2001 MacGeneration et Validus<br>En association avec : Validus formations <a href="http://www.validus.fr/" target="_blank">www.validus.fr</a></p></div> </center>           </td>         </tr>         <tr height="1">            <td width="198" height="1"><img src="/interface/espaceur.gif" width="198" height="1" border="0"></td>           <td width="10" height="1"><img src="/interface/espaceur.gif" width="10" height="1" border="0"></td>           <td width="199" height="1"><img src="/interface/espaceur.gif" width="198" height="1" border="0"></td>           <td width="10" height="1"><img src="/interface/espaceur.gif" width="10" height="1" border="0"></td>           <td width="198" height="1"><img src="/interface/espaceur.gif" width="198" height="1" border="0"></td>         </tr>       </table> 			</td> 			<td width="15" valign="top"></td> 			<td valign="top"> 				<div align="left"> 					<table width="190" border="0" cellspacing="0" cellpadding="0"> 	<tr height="20"> 		<td height="20"> 			<center> 				<img src="/interface/espaceur.gif" height="12" width="1" border="0"></center> 		</td> 	</tr>  	<tr> 		<td align="center"><table border="0" cellspacing="0" cellpadding="0" width='90%'> 	<tr> 		<td><div class="text" align="justify"><b>La citation du jour :</b><br>&laquo; J&#146;ai toujours r&ecirc;v&eacute; d&#146;un ordinateur qui soit aussi facile &agrave; utiliser qu&#146;un t&eacute;l&eacute;phone. Mon r&ecirc;ve s&#146;est r&eacute;alis&eacute;. Je ne sais plus comment utiliser mon t&eacute;l&eacute;phone. &raquo;</div></td> 	</tr> 	<tr> 		<td><div class="text" align="right"><br><i>Bjarne Stroustrup, Chercheur infomaticien am&eacute;ricain<br></i></div></td> 	</tr> </table> 			<hr> 	</tr> 		<tr> 		<td> 			<div align="center"> 				<a target='_blank' href="http://www.macgeneration.com/mgadds/adclick.php?bannerid=5&amp;zoneid=5&amp;source=&amp;dest=http%3A%2F%2Fwww.macpartner.fr&amp;ismap=" ><img src="http://pub.macgeneration.com/pub/mp120-240_2.gif" border=0></a> <img src='http://www.macgeneration.com/mgadds/adlog.php?bannerid=5&amp;clientid=6&amp;zoneid=5&amp;source=&amp;block=0&amp;capping=0&amp;cb=eace0a1eda5f0abfd8f5582e6e6c6203' width='0' height='0' alt='' style='width: 0px; height: 0px;'><br> 				<hr> 			</div> 		</td> 	</tr> 	<tr> 		<td align="center"> 			<form action="/ml/subscribe.php" method="post" name="subscribe"> 				<center> 					<div class="text"> 						Recevez<b> chaque soir</b><br> 						le r&eacute;sum&eacute; de l'actualit&eacute;<br> 						du jour par email :<br> 						<br> 						<input type="text" name="email" value="(votre email ici)" size="20" onfocus="if(this.value == '(votre email ici)') this.value = '';"><br> 						<br> 						<input type="hidden" name="action" value="abo" /> 						<input type="submit" value="Envoyer"> 					</div> 				</center> 			</form> 		</td> 	</tr> 	<tr> 		<td><!-- Search Google --> 			<center> 				<hr align="center"> 				<form action="/mgnews/rechercher_global.php" method="GET"> 					Recherche sur MacGeneration :<br> 					<br> 					<input type="text" name="aIndex" size="20"><br> 					<select class="text" name="aCmd"> 						<option selected value="actu_macg">Actu MacG</option> 						<option value="actu_tribumac">Actu TribuMac</option> 						<option value="actu_mgz">Actu MGZ</option> 						<option value="machoo">MacHoo</option> 						<option value="macopedia">Macopedia</option> 						<option value="annonce">Annonces</option> 					</select> <input type="submit" name="aButton" value="Go"><br> 				</form> 			</center> 		</td> 	</tr> 	<tr> 		<td> 			<div class="text" align="center"> 				<hr align="center"> 				<p align="center"><!--- Code  insrer CibleClick : Christee ---> <a target='_blank' href="http://www.macgeneration.com/mgadds/adclick.php?bannerid=29&amp;zoneid=6&amp;source=&amp;dest=http%3A%2F%2Fwww.cibleclick.com%2Fcibles%2Fclicks%2Fsymp.cfm%3Fsite_id%3D270099501%26friend_id%3D97570438%26banniere_id%3D6280&amp;ismap="> <img src=http://www.cibleclick.com/cibles/banniere/symp.cfm?site_id=270099501&friend_id=97570438&banniere_id=6280  border=0 alt=> </a> <!--- fin du Code  insrer CibleClick : Christee ---> <img src='http://www.macgeneration.com/mgadds/adlog.php?bannerid=29&amp;clientid=24&amp;zoneid=6&amp;source=&amp;block=0&amp;capping=0&amp;cb=50f368feb3b3797081be3a49f53caf63' width='0' height='0' alt='' style='width: 0px; height: 0px;'></p> 			</div> 		</td> 	</tr> 	<tr> 		<td><img src="/interface/espaceur.gif" height="20" width="1" border="0"></td> 	</tr> 	<tr> 		<td><img src="/interface/espaceur.gif" height="20" width="1" border="0"></td> 	</tr> </table> <p>&nbsp;</p> <!-- 111 -->  				</div> 			</td> 		</tr> 	</table> </body> 
