We realized that "ls -l" has taken so long time, over 1000 entries on directory in FAT/VFAT. Attached patch tries to solve the issue. This uses a simple solution which records position of the last found entry and uses it as start position of next scan. It would work well under following assumption; - in most case dirent will be examined by stat() or it's variants with from top to bottom direction. - found entries would be cached with VFS level dentry cache. What do you think about this patch and above assumption? Do you have any other good solution about this issue? -- Hiroyuki Machida machida@sm.sony.co.jp SSW Dept. HENC, Sony Corp.