Re: Is there linux RAM filesystem with a fixed amount of memory?‏

From: Chen Pei Chao
Date: Wed Aug 20 2008 - 23:27:29 EST



>> Is there any RAM file system that use a fixed amount of memory at all
times
>> and will not grow and shrink dynamically like tmpfs?

>ramfs

I mounted a ramfs filesystem with 10M size, and have a check of
/proc/meminfo.
I find the ramfs also did not have the memory preallocation.

I just add one line into /etc/fstab
none /tmp ramfs size=10m 0 0

Any wrong in my steps?

Regards,
Jackie

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/