* mount a jffs2 image
@ 2003-04-21 16:33 Brian T.
2003-04-21 17:32 ` Jörn Engel
0 siblings, 1 reply; 2+ messages in thread
From: Brian T. @ 2003-04-21 16:33 UTC (permalink / raw)
To: linux-mtd
I was wondering if there is a way to mount a jffs2 image on a system which
has no mtd devices, such as the system I use (Redhat 7.1) to build an
embedded distro. I am using a 2.4.20 mtd patched kernel, but I get errors
when trying to mount it on mtd devices (since they are not there). "mount"
tells me to try using "-o /dev/loop0" but that locks the system up. Thanks!
-Brian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mount a jffs2 image
2003-04-21 16:33 mount a jffs2 image Brian T.
@ 2003-04-21 17:32 ` Jörn Engel
0 siblings, 0 replies; 2+ messages in thread
From: Jörn Engel @ 2003-04-21 17:32 UTC (permalink / raw)
To: Brian T.; +Cc: linux-mtd
On Mon, 21 April 2003 11:33:35 -0500, Brian T. wrote:
>
> I was wondering if there is a way to mount a jffs2 image on a system which
> has no mtd devices, such as the system I use (Redhat 7.1) to build an
> embedded distro. I am using a 2.4.20 mtd patched kernel, but I get errors
> when trying to mount it on mtd devices (since they are not there). "mount"
> tells me to try using "-o /dev/loop0" but that locks the system up. Thanks!
Loopback creates a block device, not an mtd device. So this behaviour
is kind of expected. The system shouldn't lock up, that part should
get fixed. I'll see if I can reproduce it here.
A loopback variant for mtd does not exist, you have to write it
yourself if you want it.
You can still use mtdram, mtdblock or slram to create an mtd device an
your host, copy the image to that device and use it from there.
To the original question, either therotical mtdloopback or mtdram and
friends give you an mtd device. No mtd device, no cookies.
Jörn
--
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-21 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-21 16:33 mount a jffs2 image Brian T.
2003-04-21 17:32 ` Jörn Engel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox