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 agoSorry ... I forgot about the <start> <inc> <count> fields:
These are used to define a series of character or block device inodes with the same major number. Basically, it goes like this count: the number of minor devices to create (if > 0) start: the start index (added to minor) inc: the increment
if (count > 0)
for (i = start; i < count; i++)
rdev = MKDEV(major, minor + (i * increment - start));
Regards, --Scott