[PATCH 1/5] ubi-utils: introduction of libubi_common

Alexander Schmidt alexs at linux.vnet.ibm.com
Thu Aug 2 04:33:59 EDT 2007


Hi Artem,

On Saturday 28 July 2007, Artem Bityutskiy wrote:
> Is it possible to make any patterns like this part of _utilities_?
> UBI devices may have any names and it is defined by udev. The
> library should not assume any UBI device name.
> 
> Whole this file should be out of libubi,not part of it.

I think this issue is caused by the command line interface we have at
the moment, where only device numbers are specified and a path
to a custom device cannot be specified. So even if we move this
hardcoded path to the utils, the user is still not able to specify a
custom device path in _any_ of the utils.

What we have to do to resolve this issue IMO is to change the cli
(while preserving the old one for legacy), which is a more intrusive
change than migrating the tools to the new libubi, and which should
be a separate patch. However, even this change seems easier to me
when the device path is hardcoded only in one place...

Regards,
Alex



More information about the linux-mtd mailing list