On Friday 30 December 2011 14:02:46 Paul Hartman wrote:
> On 12/30/2011 07:32 AM, Michael Mol wrote:
> > Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
> > What do you have for mount options in fstab?
>
> You can set the size with size=XXXX parameter. For example I have mine
> set to 10G:
>
> none /dev/shm tmpfs defaults,size=10G 0 0
>
> It is shared memory, so that 10G is not actually used unless it is...
> well, actually used. :)
...and you can set the size to be more than the RAM you have; any used excess gets swapped out.
--
Rgds
Peter Linux Counter 5290, 1994-04-23