From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Frank R Callaghan <f.callaghan@ieee.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Help with mtd + jffs2
Date: Wed, 11 Jun 2003 21:06:42 +0200 [thread overview]
Message-ID: <20030611190642.GA4833@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <200306111438.52353.f.callaghan@ieee.org>
On Wed, 11 June 2003 14:38:52 -0400, Frank R Callaghan wrote:
>
> But then I tryed to put the jffs2 file system image onto
> the device :=
>
> # cp /myapp/jffs2_file_sys.img /dev/mtd0
> cp: unable to open `/dev/mtd0': No such device
> #
>
> but I have the device !
> # ls -al /dev/mtd?
> crw------- 1 root root 90, 0 Jan 1 1970 /dev/mtd0
> crw------- 1 root root 90, 2 Jan 1 1970 /dev/mtd1
> crw------- 1 root root 90, 4 Jan 1 1970 /dev/mtd2
> crw------- 1 root root 90, 6 Jan 1 1970 /dev/mtd3
> crw------- 1 root root 90, 8 Jan 1 1970 /dev/mtd4
device != device node
A door alone doesn't make a mansion either. :)
Set CONFIG_MTD_CHAR to yes or better yet set CONFIG_MTD_BLOCK to yes
and use /dev/mtdblock* instead. Those devices are usually much nicer
unless you really *really* know you don't want them.
Jörn
--
It's just what we asked for, but not what we want!
-- anonymous
prev parent reply other threads:[~2003-06-11 19:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-11 18:38 Help with mtd + jffs2 Frank R Callaghan
2003-06-11 19:06 ` 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=20030611190642.GA4833@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=f.callaghan@ieee.org \
--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