Command line parsing

David A. Braun braunster at gmail.com
Sat Sep 17 10:55:40 EDT 2005


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.

Dave Braun




More information about the linux-mtd mailing list