From: "Timofei V. Bondarenko" <timm@ipi.ac.ru>
To: "David A. Braun" <braunster@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Command line parsing
Date: Tue, 20 Sep 2005 12:21:49 +0400 [thread overview]
Message-ID: <432FC69D.30602@ipi.ac.ru> (raw)
In-Reply-To: <432F0884.2020409@gmail.com>
David A. Braun wrote:
> If the name in master->name doesn't match any of the partitions
> mentioned on the kernel command line then *pparts->offset is not
> initialized. The result is that all the partitions start at 0. Also the
> length of the "SIZE_REMAINING" partition is never initialized. Also the
> return value is -EINVAL instead of the number of partitions. This
> results in none of the partitions being pass to the driver. The only
> partition that appears in /proc/partitions is one for the whole device.
>
Is not it intentional?
There is a comment:
<Q> mtd-id := unique name used in mapping driver/device (mtd->name) </Q>
These names are identifing the separate devices rather than partitions.
And IMO it's only way to deal multiple flash devices with different partitioning.
--
Regards.
Tim.
next prev parent reply other threads:[~2005-09-20 8:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-17 14:55 Command line parsing David A. Braun
2005-09-19 9:33 ` Jörn Engel
2005-09-19 14:26 ` Marius Groeger
2005-09-19 15:32 ` Jörn Engel
2005-09-19 18:50 ` David A. Braun
2005-09-20 7:37 ` Marius Groeger
2005-09-20 8:21 ` Timofei V. Bondarenko [this message]
2005-09-20 11:34 ` David A. Braun
2005-09-19 15:40 ` Marius Groeger
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=432FC69D.30602@ipi.ac.ru \
--to=timm@ipi.ac.ru \
--cc=braunster@gmail.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