jffs2 mounting time in flash

Posted on 2006-04-12
Last Modified: 2008-03-04

   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,

   cd /mda

   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.

Question by:appstar
    1 Comment
    LVL 10

    Accepted Solution


    check this one if its any help for you

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now