[PATCH 2/2] ubinfo: fix `--all' for non-consecutive device numbers

Brian Foster brian.foster at maxim-ic.com
Thu Jan 26 03:53:04 EST 2012


On Thursday 26 January 2012 08:31:50 Brian Norris wrote:
> When we have assigned non-consecutive device numbers to our UBI devices [...]
> This patch adds a check to first see if device is present, then continue
> to the next ID if it doesn't exist.
>[ ... ] 

 Looks Ok to me (when used with part 1).

 However, looking at the mtd-utils v1.4.6 ‘mtdinfo.c’,
 is there a similar issue there?  But I have no idea
 how you could get non-consecutive MTD device numbers?

cheers!
	-blf-

-- 
Brian Foster
Principal MTS, Software        |  La Ciotat, France
Maxim Integrated Products      |  Web:  http://www.maxim-ic.com/



More information about the linux-mtd mailing list