From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: MTD mailing list <linux-mtd@lists.infradead.org>
Subject: Re: how to access jffs2 partition properties?
Date: Mon, 14 Mar 2005 15:15:09 +0100 [thread overview]
Message-ID: <20050314141509.GA17590@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0503121217090.24583@localhost.localdomain>
On Sat, 12 March 2005 12:20:27 -0500, Robert P. J. Day wrote:
>
> on a PPC system using a 2.4.22 kernel, is there a way to access the
> properties for the jffs2 filesystems that have been defined on the two
> flash chips this system has?
>
> it's easy enough to see the devices /dev/mtdblock/[0-4] that
> represent the partitions, and the file /proc/partitions contains:
>
> 31 0 64 mtdblocka
> 31 1 384 mtdblockb
> 31 2 128 mtdblockc
> 31 3 3072 mtdblockd
> 31 4 29184 mtdblocke
>
> but can i examine, for each of these, its chip, starting address,
> ending address, etc? thanks.
Not all mtd are flash based. Mtd code should have zero knowledge
about chip, start address, etc. If you need that information, you
have to tweak the mapping driver to give it out.
Jörn
--
Premature optimization is the root of all evil.
-- Donald Knuth
next prev parent reply other threads:[~2005-03-14 14:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-12 17:20 how to access jffs2 partition properties? Robert P. J. Day
2005-03-14 14:15 ` Jörn Engel [this message]
2005-03-14 14:27 ` Jörn Engel
2005-03-14 14:41 ` Artem B. Bityuckiy
2005-03-14 14:59 ` Jörn Engel
2005-03-14 15:33 ` Josh Boyer
2005-03-14 16:17 ` Jörn Engel
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=20050314141509.GA17590@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=linux-mtd@lists.infradead.org \
--cc=rpjday@mindspring.com \
/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