public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "David A. Braun" <braunster@gmail.com>
To: "Timofei V. Bondarenko" <timm@ipi.ac.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Command line parsing
Date: Tue, 20 Sep 2005 07:34:50 -0400	[thread overview]
Message-ID: <432FF3DA.1030003@gmail.com> (raw)
In-Reply-To: <432FC69D.30602@ipi.ac.ru>

as Clinton said - it depends on what you mean by "it"

If by "it" you mean the return value of EINVAL when the named partition 
by master->name is not found then you are correct. My mistake.

dave

Timofei V. Bondarenko wrote:

> 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.
>

  reply	other threads:[~2005-09-20 11:34 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
2005-09-20 11:34           ` David A. Braun [this message]
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=432FF3DA.1030003@gmail.com \
    --to=braunster@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=timm@ipi.ac.ru \
    /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