Lost space on JFFS2 partition

David Woodhouse dwmw2 at infradead.org
Thu Aug 28 10:46:23 EDT 2003


On Thu, 2003-08-28 at 15:25 +0100, John Hall wrote:
> 2.4.18 is considered ancient? :(

March 2002? Yes, that's ancient.

> I've discovered the backward-compat stuff - seems to mainly be 'BUG_ON'
> and 'likely'. I did get some compiler warnings about %z in printf
> strings - is this just gcc 2.95.3 not being aware of them?

Get lib/vsprintf.c from a current kernel; that kernel doesn't grok %z
either. Then the warning from gcc is a harmless false positive.

> I found this in the archives:
> "Just replace jffs2_{de,}compress() with NOPs. Return zero from
> jffs2_compress()", which seems to be more of a hack...

Yeah -- I want to make it a per-file and/or per-directory ioctl to
disable compression, but haven't got round to it yet.

-- 
dwmw2




More information about the linux-mtd mailing list