If you look in /proc/mtd, you see that the flash-erase-size is
detected to 0x1 = 64kb for the mtd4 area.
ewrt ~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2816 2816 0 100% /
/dev/mtdblock/4320 132 188
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 Hilt
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/jf
I built the WRT54G ewrt with owfs (Christan's source) by building ewrt,
patching & rebuilding. It seems to work fine, 1-wire directory and
devices all working etc. The image is about 3.3MB.
I am running this on a WRT54G v3.0.
There is no space on the jffs2 (/opt) partition, it shows as being
moun