>> 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
Chen Pei Chao wrote:
> 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.
>
Apparently I misunderstood what ramfs does. Sorry for misdirecting you.
>
> Chen Pei Chao wrote:
> > 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.
> >
> Apparently I misunderstood what ramfs does. Sorry for misdirecting you.
Never mind of this, and I use the kernel startup parameter "mem=10M" to
reserved the
Memory that I don't want to use. Thanks.
Jackie
--
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to
> [email protected] More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/