From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: "Brian T." <btuch@usa.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: mount a jffs2 image
Date: Mon, 21 Apr 2003 19:32:02 +0200 [thread overview]
Message-ID: <20030421173202.GA1027@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <015701c30823$c19438e0$150a0ac0@jbmsoft.com>
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
prev parent reply other threads:[~2003-04-21 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-21 16:33 mount a jffs2 image Brian T.
2003-04-21 17:32 ` Jörn Engel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030421173202.GA1027@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=btuch@usa.net \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox