Patching mkfs.ubifs.c for running under Windows ?

Artem Bityutskiy dedekind1 at gmail.com
Tue Oct 29 08:20:43 PDT 2013


On Mon, 2013-10-28 at 11:47 +0100, Richard Weinberger wrote:
> > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches
> >
> > in particular:
> > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches/110-portability.patch
> > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches/120-cygwin_fixes.patch
> > https://dev.openwrt.org/browser/trunk/tools/mtd-utils/patches/134-freebsd_loff_t.patch
> >
> > Not sure how acceptable they look like to you?
> 
> Looks not that bad. :-)
> But why do you need the file "include/cygwin/bits-byteswap.h"?
> 
> Artem, what do you think?
> IMHO adding cygwin support is less intrusive than adding native win32 support.

I would clean-up these patches even more, and split them further. But
yes, it looks like these could be turned into something not so intrusive
and maintainable and be merged if MTD users need them.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list