* mtd + jffs2 error "No space left on device"
@ 2005-05-23 18:41 Michel Fidelis
0 siblings, 0 replies; only message in thread
From: Michel Fidelis @ 2005-05-23 18:41 UTC (permalink / raw)
To: linux-mtd
Hello,
I'm trying to mount a jffs2 file system on a MTD partition.
My partition (/dev/mtd1) has 768 KB (0xc0000) (3 flash continuous
sectors of 256 KB (0x40000) each one).
I'm thinking the problem is with the -p option in the mkfs.jffs2 command.
The steps I have done are:
1)eraseall /dev/mtd1 (if I use the erase command it just erases the
first sector).
2)mkfs.jffs2 -p 0xc0000 -e 0x40000 -d jffs2dir -o jffs2.img (the image
is created without erros)
3)cp jffs2.img /dev/mtd1 (it executes without erros)
4)mount -t jffs2 /dev/mtdblock1 /mnt (it executes without erros)
However, when I try to create some file on the /mnt file system I
receive the following error: No space left on device.
The df /mnt output is:
Total 768 KB
free 0 KB
total nodes 0 KB
free nodes 0 KB
I'm working with a Motorola m5272c3 board which has an AMD Am29PL160C
flash memory (2 MB). I'm using Kernel 2.4.x.
Can anybody help me?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-23 18:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23 18:41 mtd + jffs2 error "No space left on device" Michel Fidelis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox