Sebastien Delcroix wrote:
> 
> Salut,
> 
> St�phane Reboullet wrote:
> >
> [...]
> >
> > Donc, est-ce que Linux peut utiliser plus de 128 Mo sur UNE partition de
> > swap, malgr� ce qui est dit dans ce document ? Ou faut-il utiliser
> 
> oui tu peux faire un partition de la taille que tu veux

� man mkswap � sur une patate (� mkswap from util-linux-2.10f � ):

�[...]
       -v0    Create an old style swap area.

       -v1    Create a new style swap area.

       If no -v option is given, mkswap will default to old style
       if  the  size of the swap area does not exceed the maximum
       size of an old style swap area, and also  if  the  current
       kernel  is  older  than  2.1.117 (and also if PAGE_SIZE is
       less than 2048).  The new style header does not touch  the
       first  block,  so may be preferable (also if the swap area
       is small), in case you have a boot loader  or  disk  label
       there.
[...]�

Donc la r�ponse correcte est : les partitions de swap peuvent �tre
plus grandes que 128 Mo si elles sont en version 1. Or lors d'une
installation, mkswap est lanc� sans param�tre -v, donc en version
z�ro.

Pour utiliser r�ellement des partitions swap de plus de 128 Mo, il
faut les cr�er soi-m�me avec -v1.

Pr�cision n�cessaire, je pense.
-- 
   __     ________________________________________________     __   
  |oo|   | Sylvain Sauvage, doctorant [IAD & SMA]         |   |oo|  
  <_)|   |     GREYC -- CNRS UMR 6072, Universit� de Caen |   <_)|  
 //  \\  |                                                |  //  \\ 
(_|  |_) |      http://www.info.unicaen.fr/~sauvage       | (_|  |_)
|_\==/_| |_______ mailto:[EMAIL PROTECTED] _________| |_\==/_|


Répondre à