[PATCH] ubinfo: allow passing MTD device number

Richard Weinberger richard.weinberger at gmail.com
Sat Dec 13 11:05:44 PST 2014


On Sat, Dec 13, 2014 at 4:00 PM, Rafał Miłecki <zajec5 at gmail.com> wrote:
> This provides a nice way to find if and which UBI device is attached to
> the MTD.

Is it really worth adding this functionality to ubinfo?
One can check /sys/class/ubi/ubiX/mtd_num.

The design behind UBI tools is to work only on UBI device nodes
and not on MTD numbers.
i.e. to keep the layers separated.

-- 
Thanks,
//richard



More information about the linux-mtd mailing list