lkml.org 
[lkml]   [2011]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: How to mount filesystem from RAM ?
On Tue, Apr 19, 2011 at 11:32, Jongman Heo <jongman.heo@gmail.com> wrote:
> Instead, I can load the data from the partition into RAM, which means
> whole filesystem data is copied into some location of RAM. ( I know
> the physical address, for the data to be loaded.) This copy operation
> is done by bootloader side, not in Linux.
>
> In this case, how can I mount the filesystem from RAM? Is there any
> way to do this?

Have a look at slram or phram in drivers/mtd/devices/.

> And I think the memory location of filesystem data should be reserved
> not to be used by Linux kernel and user space application, am I right?

One way to do this is by passing appropriate mem= arguments.


\
 
 \ /
  Last update: 2011-04-19 15:51    [W:0.071 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site