2005-05-25 06:10:39

by Guddu Guddu

[permalink] [raw]
Subject: Mounting cramfs from RAM address

Hi,

I want to mount my cramfs stored at a particular
address in RAM (i.e 0x8100_0000). What is the best way
to do so?

-- guddu



________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony


2005-05-25 06:20:19

by Mikael Starvik

[permalink] [raw]
Subject: RE: Mounting cramfs from RAM address

One way is to create a MTD RAM device and mount that. Look in
arch/cris/drivers/axisflashmap.c for example (search for RAM device).

/Mikael

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Guddu Guddu
Sent: Wednesday, May 25, 2005 8:08 AM
To: [email protected]
Subject: Mounting cramfs from RAM address


Hi,

I want to mount my cramfs stored at a particular
address in RAM (i.e 0x8100_0000). What is the best way
to do so?

-- guddu



________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

2005-05-25 13:09:59

by Guddu Guddu

[permalink] [raw]
Subject: RE: Mounting cramfs from RAM address

Thanks Mikael for a nice pointer.
I even tried creating a MTD RAM device with a test
module and I could access the memory. I feel I shall
be able to mount now my cramfs to it.

Thanks again
Guddu

--- Mikael Starvik <[email protected]> wrote:
> One way is to create a MTD RAM device and mount
> that. Look in
> arch/cris/drivers/axisflashmap.c for example (search
> for RAM device).
>
> /Mikael
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of Guddu Guddu
> Sent: Wednesday, May 25, 2005 8:08 AM
> To: [email protected]
> Subject: Mounting cramfs from RAM address
>
>
> Hi,
>
> I want to mount my cramfs stored at a particular
> address in RAM (i.e 0x8100_0000). What is the best
> way
> to do so?
>
> -- guddu
>
>
>
>
________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner
> online
> Go to: http://yahoo.shaadi.com/india-matrimony
> -
> 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/
>
>

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony