unable to modify jffs2
Xavier DEBREUIL
xde at inventel.fr
Tue Jun 12 12:38:55 EDT 2001
David Woodhouse a écrit :
>
> xde at inventel.fr said:
> > jffs2_reserve_space(): Requested 0x2c bytes
> > jffs2_reserve_space(): alloc sem got
> > Short on space, but total dirty size 0x0000002c < sector size 0x00020000, so -ENOSPC
>
> Looks like your filesystem is too full. You need at least 5 erase blocks
> free. How big was the jffs2 image you put on it?
>
> --
> dwmw2
In my last email :
but something is strange since df indicates that there is no space
left
on that fs ; but the file I have written on my 2Meg partition was only
1.5Meg
/mnt/jffs2/jffs2_1/usr/arm/arm-linux # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 3963 2997 966 76% /
/dev/mtdblock1 2048 2048 0 100%
/mnt/jffs2/jffs2_1
/dev/ram1 2011 13 1998 1%
/mnt/ramdisk/rd1
So if you say that it needs at least 5 free blocks, it means that I need
5 blocks of 128KB, so at least 650KB free!!!
Is it necessary ?
In fact if this is true, a 2MB partition is to short...
Xavier
More information about the linux-mtd
mailing list