On 3/9/07, Jürgen Hötzel <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 09, 2007 at 05:31:50PM -0300, Alexandre Moreira wrote:
> > Please excuse me (and explain) if this question is just stupid but,
> >
> > I just noticed I have a 252Mb tmpfs on /dev/shm just sitting there
> > with no use, and I can see that it is my fstab which is mounting it.
> >
> > Why is that useful ? Is it wasting those 252Mb of ram by being mounted
> > or will the kernel use this space if it ever needs to ?
>
> You don't waste any space by using tmpfs. Contrary to a ramdisk, space can be
> allocated dynamically, there is no underlying block device (just like
> initramfs compared to initrd).  Infrequently accessed data will be swapped
> out.

Thanks for the information (and thanks Aaron also). Just to make it
clear: Even if it is grown to 252Mb, if no "files" are inside it then
it is not really using my ram ? I always thought these things would
size themselves according to use, but this one is always there with
250Mb without anything really using the space there.

Regards,
Alexandre Moreira.

PS: just for your information, df says its 252Mb but it is 0% in use.

> Jürgen
>
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch
>

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to