public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mtdparts= documentation change
@ 2008-09-30 18:12 Philip Rakity
  2008-10-08 12:38 ` Josh Boyer
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Rakity @ 2008-09-30 18:12 UTC (permalink / raw)
  To: linux-mtd

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



      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mtdparts= documentation change
  2008-09-30 18:12 mtdparts= documentation change Philip Rakity
@ 2008-10-08 12:38 ` Josh Boyer
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2008-10-08 12:38 UTC (permalink / raw)
  To: Philip Rakity; +Cc: linux-mtd

On Tue, Sep 30, 2008 at 11:12:27AM -0700, Philip Rakity wrote:
>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.

Your patch is whitespace corrupted.  And you don't have a proper
Signed-off-by line.  (It should be before the patch, not part of it.)

And patches should be of strip level 1.

josh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-08 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 18:12 mtdparts= documentation change Philip Rakity
2008-10-08 12:38 ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox