[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swap en particion, tmp en memoria



El lun, 10-10-2005 a las 22:33 +0200, Rober Morales escribió:
> 
> Luis Rodrigo Gallardo Cruz escribió:
> 
> >tmpfs pone por default como tamaño la mitad de tu memoria RAM, no tu
> >memoria virtual. Si quieres cambiar eso añade la opción size.
> >  
> >
> gracias, es un punto por el que seguir investigando
> 
> >consulta man mount
> >  
> >
> en man mount no existe entrada para el tipo de fs tmpfs ni habla de size 
> por ningún lado.
> en man fstab tampoco.

Dependerá de la versión del man que tengas:

man mount
[...}
Mount options for tmpfs
The  following  parameters  accept  a  suffix  k, m or g for Ki, Mi, Gi
(binary kilo, mega and giga) and can be changed on remount.

size=nbytes
Override default maximum size of the filesystem. The size is
given  in  bytes, and rounded down to entire pages.  The default
is half of the memory.

       nr_blocks=
              Set number of blocks.

       nr_inodes=
              Set number of inodes.

       mode=  Set initial permissions of the root directory.
[..]



Reply to: