[PATCH v5 2/3] mtd-utils: support >4GiB devices

Artem Bityutskiy dedekind1 at gmail.com
Tue Jun 29 02:35:12 EDT 2010


On Sat, 2010-06-12 at 14:36 +0300, Artem Bityutskiy wrote:
> On Thu, 2010-05-13 at 13:11 +0300, Artem Bityutskiy wrote:
> > >  nandwrite.c           |   60 +++++-----
> > >  13 files changed, 570 insertions(+), 171 deletions(-)
> > >  create mode 100644 mtd_ioctl.c
> > >  create mode 100644 mtd_ioctl.h
> > 
> > Any chance to extend and use mtd-utils/ubi-utils/src/libmtd.c instead of
> > mtd_ioctl.c?
> 
> Does silence mean that that answer is "no"? :-)

I have a dilemma whether to take your patches as they are or not :-) On
the one hand, they are needed, on the other hand, if we re-use libmtd.c,
we do not have duplicated code. libmtd.c is tested and it distinguish
beween old kernels (no sysfs support in mtd) and new kernels (expose
stuff via sysfs). It would be nice to share more code...

I guess I do not take your patches so far.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list