Forum Discussion
Altera_Forum
Honored Contributor
21 years agojffs2 filesystem image
Hello, Can someone tell me how to create and use a jffs2 filesystem image ? I have correctly partitionned my flash, and I can mount it (in /home for now). I would like to use it for things ...
Altera_Forum
Honored Contributor
21 years agoHi pod,
> I have downloaded mkfs.jffs2 from www.psyent.com It's best to build/use this under linux. Otherwise, the file permissions may not be correct (for executables ... the execute bits will not be set). Or, you can just modify the code and set the execute bits for the time being. I also recommend that you use the --dev-table option to populate /dev -- it's alot easier than suid root everytime you need to create a device inode just for the fss. And leaving bogus device inodes in a user directory is begging for trouble ;-) > if it is possible to mount a jffs2 filesystem as / partition ? Is there a > special option to put in the kernel to achieve that ? No, but you should use the root kernel parameter to point to the appropriate block device in the kernel command line. E.g.: root = /dev/mtdblock0 Regards, --Scott