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,
Here's the format. For more details see mkfs.jffs2.c./* device table entries take the form of:
<path> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
/dev/mem c 640 0 0 1 1 0 0 -
type can be one of:
f A regular file
d Directory
c Character special device file
b Block special device file
p Fifo (named pipe)
I don't bother with symlinks (permissions are irrelevant), hard
links (special cases of regular files), or sockets (why bother).
Regular files must exist in the target root directory. If a char,
block, fifo, or directory does not exist, it will be created.
*/ The '#' starts a comment line ... but it must be the first character of the line. Regards, --Scott