public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Philip Rakity <prakity@yahoo.com>
To: linux-mtd@lists.infradead.org
Subject: mtdparts= documentation change
Date: Tue, 30 Sep 2008 11:12:27 -0700 (PDT)	[thread overview]
Message-ID: <392584.84807.qm@web58905.mail.re1.yahoo.com> (raw)

Recently I tried to figure out where the name of the mtd disk came from since I was modifying cafe_nand.c to do command line parsing (patch coming for this later in the week).  I could not find an explicit reference so I hacked the code to only find out that it can be easily seen by issuing the command

cat /proc/mtd

I know it also is in the bootup console output (now !)
.

The following patch would help make explicit how to find the name.

--- /Volumes/unix/linux-2.6.26.5/drivers/mtd/cmdlinepart.c      2008-09-08 10:40:20.000000000 -0700
+++ Desktop/cmdlinepart_new.c   2008-09-29 18:00:46.000000000 -0700
@@ -11,6 +11,7 @@
 * <mtddef>  := <mtd-id>:<partdef>[,<partdef>]
 * <partdef> := <size>[@offset][<name>][ro][lk]
 * <mtd-id>  := unique name used in mapping driver/device (mtd->name)
+ *              eg: this is the name seen in "cat /proc/mtd/" output
 * <size>    := standard linux memsize OR "-" to denote all remaining space
 * <name>    := '(' NAME ')'
 *

signed off by Philip Rakity



      

             reply	other threads:[~2008-09-30 18:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30 18:12 Philip Rakity [this message]
2008-10-08 12:38 ` mtdparts= documentation change Josh Boyer

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=392584.84807.qm@web58905.mail.re1.yahoo.com \
    --to=prakity@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