* how to mount a 256 MB jffs2 image (without using 256 MB of RAM)?
@ 2006-01-13 11:46 Tomasz Chmielewski
2006-01-19 21:46 ` Jeff Angielski
0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Chmielewski @ 2006-01-13 11:46 UTC (permalink / raw)
To: linux-mtd
I just began to play with jffs2.
I have a small ASUS router which has a 4 MB flash, and 32 MB of RAM. It
runs linux (http://www.openwrt.org).
4 MB flash is not much for a Linux distribution, but this tiny router
has also a USB port, so I can connect a USB stick to it.
My original idea was to "format" this 256 MB USB stick with jffs2 to get
more space - but of course, it's not possible, as it's not really a
mtd/flash device.
So my second though was to create a ~256 MB jffs2 image on my Linux PC,
copy it to the USB stick (formatted with ext2/3), and mount this image
on a router.
I made some test, and unfortunately, it seems that to mount a 256 MB
jffs image one needs an equal amount of RAM (256):
insmod mtdram total_size=262144 erase_size=256
Are there any alternative ways to mount a jffs2 image, so that it
doesn't take so much RAM?
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to mount a 256 MB jffs2 image (without using 256 MB of RAM)?
2006-01-13 11:46 how to mount a 256 MB jffs2 image (without using 256 MB of RAM)? Tomasz Chmielewski
@ 2006-01-19 21:46 ` Jeff Angielski
2006-01-21 20:16 ` Tomasz Chmielewski
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Angielski @ 2006-01-19 21:46 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: linux-mtd
On Fri, 2006-01-13 at 12:46 +0100, Tomasz Chmielewski wrote:
> Are there any alternative ways to mount a jffs2 image, so that it
> doesn't take so much RAM?
You might want to take a look at this under "Procedure":
http://www.handhelds.org/moin/moin.cgi/FamiliarBackupHowto
Google is your friend.... :)
Jeff Angielski
The PTR Group
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to mount a 256 MB jffs2 image (without using 256 MB of RAM)?
2006-01-19 21:46 ` Jeff Angielski
@ 2006-01-21 20:16 ` Tomasz Chmielewski
2006-01-22 18:20 ` Tomasz Chmielewski
0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Chmielewski @ 2006-01-21 20:16 UTC (permalink / raw)
To: Jeff Angielski; +Cc: linux-mtd
Jeff Angielski schrieb:
> On Fri, 2006-01-13 at 12:46 +0100, Tomasz Chmielewski wrote:
>
>>Are there any alternative ways to mount a jffs2 image, so that it
>>doesn't take so much RAM?
>
>
> You might want to take a look at this under "Procedure":
>
> http://www.handhelds.org/moin/moin.cgi/FamiliarBackupHowto
>
> Google is your friend.... :)
I googled long enough, then I asked at this list as I didn't found :)
It works, well, almost.
Why the image mounted this way is read only?
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to mount a 256 MB jffs2 image (without using 256 MB of RAM)?
2006-01-21 20:16 ` Tomasz Chmielewski
@ 2006-01-22 18:20 ` Tomasz Chmielewski
0 siblings, 0 replies; 4+ messages in thread
From: Tomasz Chmielewski @ 2006-01-22 18:20 UTC (permalink / raw)
Cc: linux-mtd
Tomasz Chmielewski schrieb:
> Jeff Angielski schrieb:
>
>> On Fri, 2006-01-13 at 12:46 +0100, Tomasz Chmielewski wrote:
>>
>>> Are there any alternative ways to mount a jffs2 image, so that it
>>> doesn't take so much RAM?
>>
>>
>>
>> You might want to take a look at this under "Procedure":
>>
>> http://www.handhelds.org/moin/moin.cgi/FamiliarBackupHowto
>>
>> Google is your friend.... :)
>
>
> I googled long enough, then I asked at this list as I didn't found :)
>
> It works, well, almost.
>
> Why the image mounted this way is read only?
Well, not really "read only", but whenever I try to remove anything, the
system says "not enough space", and refuses to remove files (or add
them), which results in the filesystem being read-only.
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-22 18:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-13 11:46 how to mount a 256 MB jffs2 image (without using 256 MB of RAM)? Tomasz Chmielewski
2006-01-19 21:46 ` Jeff Angielski
2006-01-21 20:16 ` Tomasz Chmielewski
2006-01-22 18:20 ` Tomasz Chmielewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox