From: Michel Fidelis <michel.fidelis@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: mtd + jffs2 error "No space left on device"
Date: Mon, 23 May 2005 15:41:35 -0300 [thread overview]
Message-ID: <999d19fd050523114173e3ceca@mail.gmail.com> (raw)
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?
reply other threads:[~2005-05-23 18:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=999d19fd050523114173e3ceca@mail.gmail.com \
--to=michel.fidelis@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.