From: Vitaly Wool <vwool@ru.mvista.com>
To: dedekind@infradead.org
Cc: hermes33@freenet.de, linux-mtd@lists.infradead.org
Subject: Re: number mtd partitions on 16 limits?
Date: Mon, 13 Nov 2006 13:30:22 +0300 [thread overview]
Message-ID: <4558493E.6050905@ru.mvista.com> (raw)
In-Reply-To: <1163412755.3925.34.camel@sauron>
Artem Bityutskiy wrote:
> Hi,
>
> On Mon, 2006-11-13 at 11:06 +0100, hermes33@freenet.de wrote:
>
>> I need more than 16 mtd partitions on a omap1610 (arm) with kernel 2.4.20.
>> I create 16 partitions. All ok, 'cat /proc/mtd' show mtd0 to mtd15.
>> I create 17 partitions. 'cat /proc/mtd' show only mtd0 to mtd15.
>> It seems to give a limit with 16 partitions.
>> Where can I change that? can someone help me?
>>
>
> This is because of
> #define MAX_MTD_DEVICES 16
> at include/linux/mtd/mtd.h. Increase this macro. I guess it is harmless
> to make it 32, feel free to send a patch.
>
>
I would however like to add that if you have more than 16 partitions in
your system, you're likely to have problems with your design and not
with MTD.
Vitaly
next prev parent reply other threads:[~2006-11-13 10:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-13 10:06 number mtd partitions on 16 limits? hermes33
2006-11-13 10:12 ` Artem Bityutskiy
2006-11-13 10:30 ` Vitaly Wool [this message]
2006-11-13 10:25 ` Timo Lindhorst
2006-11-13 11:46 ` Artem Bityutskiy
2006-11-13 16:17 ` Timo Lindhorst
2006-11-13 18:25 ` Artem Bityutskiy
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=4558493E.6050905@ru.mvista.com \
--to=vwool@ru.mvista.com \
--cc=dedekind@infradead.org \
--cc=hermes33@freenet.de \
--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