[Yaffs] (no subject)

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Rhykie Rhykie
Date:  
To: yaffs
Subject: [Yaffs] (no subject)

Hi,
I have two questions:

1) In the cramfs file system i have a source code in which i want to use fread()/fwrite() functions to read/write to a text file in the yaffs file system, all this in a nand flash memory in two different partitions. Unfortunately when compiling i get the "trying to access read-only file system" error.
Any idea of how i can achieve what i want to do.

2)When the cramfs file system is configured to be the root after kernel boot-up, i have read that i can mount the yaffs to mtdblock3 partition by using the command mount -t yaffs /dev/mtdblock3 /mnt/.

In the /mnt directory, i get the empty yaffs folder. As i was researching about how to get going with yaffs i got a couple yaffs source code which i dont know how to use them.
Please help, how do i get a yaffs file system in the nand partition.

Thanks in advance.

cheers