?
Solved

jffs2 mounting time in flash

Posted on 2006-04-12
3
Medium Priority
?
656 Views
Last Modified: 2008-03-04
Hi,

   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
   ls

   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.

0
Comment
Question by:appstar
1 Comment
 
LVL 10

Accepted Solution

by:
dnojcd earned 1200 total points
ID: 16443185
http://www.inf.u-szeged.hu/jffs2/mount.php

check this one if its any help for you
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

839 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