* Re: Is there linux RAM filesystem with a fixed amount of memory? @ 2008-08-21 3:16 Chen Pei Chao 2008-08-21 4:05 ` David Newall 0 siblings, 1 reply; 6+ messages in thread From: Chen Pei Chao @ 2008-08-21 3:16 UTC (permalink / raw) To: 'David Newall'; +Cc: linux-kernel, jackie.chen >> 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is there linux RAM filesystem with a fixed amount of memory? 2008-08-21 3:16 Is there linux RAM filesystem with a fixed amount of memory? Chen Pei Chao @ 2008-08-21 4:05 ` David Newall 2008-08-21 11:51 ` Chen Pei Chao 0 siblings, 1 reply; 6+ messages in thread From: David Newall @ 2008-08-21 4:05 UTC (permalink / raw) To: Chen Pei Chao; +Cc: linux-kernel, jackie.chen 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. ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Is there linux RAM filesystem with a fixed amount of memory? 2008-08-21 4:05 ` David Newall @ 2008-08-21 11:51 ` Chen Pei Chao 0 siblings, 0 replies; 6+ messages in thread From: Chen Pei Chao @ 2008-08-21 11:51 UTC (permalink / raw) To: 'David Newall'; +Cc: linux-kernel, jackie.chen > > 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 > majordomo@vger.kernel.org More majordomo info at > http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Is there linux RAM filesystem with a fixed amount of memory? @ 2008-08-19 13:58 Chen Pei Chao 2008-08-19 14:39 ` David Newall 2008-08-19 16:31 ` Sven-Haegar Koch 0 siblings, 2 replies; 6+ messages in thread From: Chen Pei Chao @ 2008-08-19 13:58 UTC (permalink / raw) To: linux-kernel; +Cc: jackie.chen Hi All, 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? Thanks in advance. Regards, Jackie ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is there linux RAM filesystem with a fixed amount of memory? 2008-08-19 13:58 Chen Pei Chao @ 2008-08-19 14:39 ` David Newall 2008-08-19 16:31 ` Sven-Haegar Koch 1 sibling, 0 replies; 6+ messages in thread From: David Newall @ 2008-08-19 14:39 UTC (permalink / raw) To: Chen Pei Chao; +Cc: linux-kernel, jackie.chen > 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Is there linux RAM filesystem with a fixed amount of memory? 2008-08-19 13:58 Chen Pei Chao 2008-08-19 14:39 ` David Newall @ 2008-08-19 16:31 ` Sven-Haegar Koch 1 sibling, 0 replies; 6+ messages in thread From: Sven-Haegar Koch @ 2008-08-19 16:31 UTC (permalink / raw) To: Chen Pei Chao; +Cc: linux-kernel, jackie.chen On Tue, 19 Aug 2008, Chen Pei Chao wrote: > 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? > Thanks in advance. There are the old-style ramdisk block-devices, which will just claim the specified amount of memory and can be formatted with any filesystem. c'ya sven -- The Internet treats censorship as a routing problem, and routes around it. (John Gilmore on http://www.cygnus.com/~gnu/) ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-08-21 11:53 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-08-21 3:16 Is there linux RAM filesystem with a fixed amount of memory? Chen Pei Chao 2008-08-21 4:05 ` David Newall 2008-08-21 11:51 ` Chen Pei Chao -- strict thread matches above, loose matches on Subject: below -- 2008-08-19 13:58 Chen Pei Chao 2008-08-19 14:39 ` David Newall 2008-08-19 16:31 ` Sven-Haegar Koch
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox