public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: ebiederman@lnxi.com (Eric W. Biederman)
To: Gopi Palaniappan <gpalani1@yahoo.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: MTD partition offset info via /proc/mtd & ioctl(MEMGETINFO)
Date: 12 Aug 2004 00:50:05 -0600	[thread overview]
Message-ID: <m3d61w6eaq.fsf@maxwell.lnxi.com> (raw)
In-Reply-To: <20040811030608.90864.qmail@web61202.mail.yahoo.com>

Gopi Palaniappan <gpalani1@yahoo.com> writes:

> I didn't see any comments about my previous posting...
> I was wondering if I needed to provide additional
> info?

I had a similar desire. But I wanted the physical starting address of the
mtd devices.

Modify mtd_info_user especially to stick a field in the middle a no-go
that breaks the user space ABI.  And will seriously annoy people.

In talking with Dave we came up with two possible solutions.  Put
the physical starting address into the name so it is displayed in /proc/mtd.
And longer term we can look at using sysfs to export that information.

I have just modified the map drivers amd76xrom and ichxrom to add that
information to the name field of /proc/mtd.

That should be a simple and expedient way to get things moving.
I am puzzled though why you would need partition offset information,
I thought the purpose of partitions was to remove the need for worrying about
offsets into the flash chip.

Eric

  reply	other threads:[~2004-08-12  6:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11  3:06 MTD partition offset info via /proc/mtd & ioctl(MEMGETINFO) Gopi Palaniappan
2004-08-12  6:50 ` Eric W. Biederman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-09  0:35 Gopi Palaniappan

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=m3d61w6eaq.fsf@maxwell.lnxi.com \
    --to=ebiederman@lnxi.com \
    --cc=gpalani1@yahoo.com \
    --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