LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Problems with CF and jffs2....... (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/problems-with-cf-and-jffs2-648242/)

webquinty 06-10-2008 04:57 AM

Problems with CF and jffs2.......
 
Hello,

I have a develop board with powerpc.
Kernel and rootfs is in a mtd block, kernel in a mtdblock3 and rootfs is a jffs2 image in mtdblock5.

Now, I am interesting in use a Compact Flash to save files a data, but I hace some doubts.

1.- Can I use a Compact flash as MTD with jffs2 file system???
2.- If I can use it, is it neccesaty to define a new dev (mknod mtdblockX)
to access device????

I looked for information about it but I did not understand well, so, please, could somebody help me???

Best regards.

webquinty 06-13-2008 02:22 AM

Ok, I answered myself.

Does JFFS work on Compact Flash? No.

And now, what is the best file system to work with a compact flash???
When my system startup, fstab mount compact flash with ext2 file system.
Then I have created a new folder and file in a compact flash, and finally I took off power of board.

But when I restarted board, I found that folder and file are missing.
I known the reason, I did not umount compact flash, but my question is:

How can I avoid it???

Best regards


All times are GMT -5. The time now is 06:17 PM.