ext2_lookup() and i_count
Sébastien Côté
scote1 at Matrox.COM
Fri May 12 15:15:59 EDT 2000
Alexander Larsson a écrit :
>
> On Thu, 11 May 2000, David Woodhouse wrote:
>
> >
> First create your to be filesystem in a directory (call it e.g. img_dir),
> then run "mkfs.jffs img_dir > fs.jffs", this creates an image fs.jffs that
> you can copy to your flash (in the case of an mtdram flash, just do "cat
> fs.jffs > /dev/mtd0". Then mount the flash "mount -t jffs /dev/mtdblock0
> /mnt/jffs".
>
> Then just go to /mnt/jffs and play around with the filesystem. Not
> everything works well right now, rename isn't implemented, and unlink
> seems to have some problems.
I tried this out today and encoutered some problems. Most file
operations work well (cp, rm ln -s) but I have two problems.
First, big file don't get mounted on the filesystem (by big I mean a few
hundred Ks). I tried to track the problem without luck. Second, the
command df always reports dans the device is full. Since
jffs_scan_flash()'s reports are ok, I'm wondering where df takes the
informations from?
Did you run into similar problems?
Thanks,
--
Sébastien Côté
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list