Command line parsing

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Sep 19 05:33:00 EDT 2005


On Sat, 17 September 2005 10:55:40 -0400, David A. Braun wrote:
> 
> Is there any particular reason parse_cmdline_partitions() in 
> drivers/mtd/cmdlineparse.c doesn't completely setup the partition 
> table(s) it builds? It fails to initialize the offsets and sizes of any 
> partition tabled unless it is the one named by "master". This one has 
> the offsets and lengths filled in but the others are left zero with the 
> exception of partitions specified with "-" or SIZE_REMAINING. I would 
> have expected all partitions described in the cmdline to be initialized 
> if any are.

Iirc, the code was written by someone at Sysgo, possibly Robert, and
hasn't been touched for quite a while.  So if you have any patches
that improve the situation for you, feel free to send them.

Jörn

-- 
Rules of Optimization:
Rule 1: Don't do it.
Rule 2 (for experts only): Don't do it yet.
-- M.A. Jackson 




More information about the linux-mtd mailing list