Christian, thanks for the patch, it does the job just fine, /opt now shows 188 1k blocks available.
What size blocks does JFFS2_RESERVED_BLOCKS_... refer to though? The patch reduces it from 3 to 1, or 5 to 2 to allow a write, but that still results in df showing 132 1k blocks as used. Paul Hilton On Wed, 2005-06-15 at 23:29 +0200, Christian Magnusson wrote: > Oops... I'm so sorry for missing a patch to the kernel that I made. > ewrt works good with the current settings, but since my patches add > some more binaries to the flash-memory, there are much less memory > left for the jffs2 file-system. > > To solve the problem I patched > ewrt-0.3/src/linux/linux/fs/jffs2/nodelist.h > and decreased the number of reserved blocks for the system. There > _might_ be a problem if many processes write to the /opt directory > at the same time, but otherwise it should work just fine. > > Download the patch from: > http://home.mag.cx/uclinux/wrt54g/source/jffs2_diff.txt > > You might need to clean the kernel-directory, or perhaps only > linux/fs/jffs2/*.o, or perhaps the dependencies will recompile > the necessary files automatically after the patch. I'm not sure... > > I will add this patch in the next source-tar-file... Thanks for > pointing it out for me... :) > > /Christian > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
