jffs2 mounting time in flash
Posted on 2006-04-12
When mounting jffs2, (it's a embedded device with linux running & 16M flash is used)
mount -t jffs /dev/mtdblock/4 /mda
It takes very long before it finishes (about 40-60 seconds), and when getting into that directory,
it takes another 40-60 seoncds before "ls" shows the directories/files. And after mounting & first-time accessing, there is no more waiting time for accessing.
I am aware of the slow speed problem in mounting jffs2 with flash, however I still have some questions about it:
(1) After mounting, why there is still another waiting time for first-time accessing (ls, or execute some file in that directory.) ?
(2) Is there any way or trick to speed up the waiting time?
(3) If there is no way or trick, what would you suggest to do with the jffs2 filesystem to eliminate this kind of waiting? (because the booting-up time becomes unacceptable for a device)
Thanks a lot.