From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from main.gmane.org ([80.91.224.249]) by pentafluge.infradead.org with esmtp (Exim 4.22 #5 (Red Hat Linux)) id 19sNwc-0006mj-U6 for ; Thu, 28 Aug 2003 15:40:15 +0100 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19sNww-0002JY-00 for ; Thu, 28 Aug 2003 16:40:34 +0200 To: linux-mtd@lists.infradead.org From: "John Hall" Date: Thu, 28 Aug 2003 15:25:44 +0100 Message-ID: <9bb.3f4e10e8.4a743@irwin2.crw.uk.net> References: <6306.3f4dd070.667ee@irwin2.crw.uk.net> <1062066193.8465.1571.camel@hades.cambridge.redhat.com> <696f.3f4dd944.a899d@irwin2.crw.uk.net> <1062070043.8465.1615.camel@hades.cambridge.redhat.com> <414.3f4e0a87.b6729@irwin2.crw.uk.net> <1062080106.12122.1.camel@hades.cambridge.redhat.com> Sender: news Subject: Re: Lost space on JFFS2 partition List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , "David Woodhouse" wrote in message news:1062080106.12122.1.camel@hades.cambridge.redhat.com... > > and will it work correctly under 2.4 > > Yes.... > > > (in fact armlinux 2.4.18-rmk7)? > > ... but maybe not for ancient 2.4 like that. Won't be far off though > -- you may just have to reinstate some backward-compat stuff in > include/linux/mtd/compatmac.h which got removed recently. 2.4.18 is considered 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? > > On a completely different note, is it possible to disable > > compression in JFFS2 without hacking the sourcecode? > > No. At least not if you count just reading the archives for the last > week or two and applying the patch therein as 'hacking' ;) 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... Regards, John