|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE task |
|
11 PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"> |
|
12 <task id="GUID-DC0BF2A3-613B-595C-BF47-07F29E2A7893" xml:lang="en"><title>Leaf |
|
13 Directory Name Cache Configuration Tutorial</title><shortdesc>Describes how to configure the cache for Leaf Directories in the |
|
14 FAT file system. </shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody> |
|
15 <prereq id="GUID-B6A57876-D5D9-5B28-92F4-B5721265619D"><p>Before you start, |
|
16 you must: </p> <ul> |
|
17 <li id="GUID-84410516-D4E6-5931-9D20-FE277652E816"><p>have the knowledge of |
|
18 the <xref href="GUID-AFFC4002-3A06-5458-A4D9-1E0AEDB8C534.dita">FAT file system </xref> </p> </li> |
|
19 <li id="GUID-7AF7A28B-2975-5BC3-B5C8-BB344A598EA5"><p>have the knowledge of <xref href="GUID-AFFC4002-3A06-5458-A4D9-1E0AEDB8C534.dita#GUID-AFFC4002-3A06-5458-A4D9-1E0AEDB8C534/GUID-266ACC2C-DEE2-51E0-915B-DBB75AA9BEA8">Leaf |
|
20 Directory Name cache</xref>. </p> </li> |
|
21 </ul> </prereq> |
|
22 <context id="GUID-FE52BD47-4F97-5C8F-BD5D-15351EB10D77"><p>The available size |
|
23 of the leaf directory name cache is customisable. The customisation enables |
|
24 the licensees to balance between the memory and performance of a system. A |
|
25 typical leaf directory name cache entry requires 10 bytes to 0.5 Kilobytes. |
|
26 The available memory for the cache is configured in the <filepath>estart.txt</filepath> file |
|
27 by specifying the number of entries to be cached in each drive. The developers |
|
28 must configure each drive available on the device. </p> <p>To add the number |
|
29 of leaf directory names to be cached in the <filepath>estart.txt</filepath> file, |
|
30 do the following: </p></context> |
|
31 <steps id="GUID-5B7D55B8-C77F-5921-81DA-90C4BE2A10CD"> |
|
32 <step id="GUID-7D44FA9E-5563-54DF-B0D9-2024514B744D"><cmd>Open the estart.txt |
|
33 file </cmd> |
|
34 </step> |
|
35 <step id="GUID-F572963E-88D7-5A08-966A-19173623CC2C"><cmd/> |
|
36 <info>Create an entry for a drive </info> |
|
37 </step> |
|
38 <step id="GUID-F5D8DA4F-55DC-5497-9822-85294E0418C4"><cmd/> |
|
39 <info>Add the number of recently used files to be cached in the leaf directory |
|
40 name cache for a drive. For example, if 32 most recently used leaf directory |
|
41 names must be cached for drive <code>D:\</code>, then add the following |
|
42 entry in the <filepath>estart.txt</filepath> file. <note> The default value |
|
43 is 1. Even if there is no entry created in the estart.txt, the file server |
|
44 remembers the last visited entry created in the estart.txt, the file server |
|
45 remembers the last visited file. The recommended maximum value for the leaf |
|
46 directory name cache is 32.</note></info> |
|
47 </step> |
|
48 <step id="GUID-E2F30B63-F795-5D12-9865-BF01DF832FC4"><cmd/> |
|
49 <info>Repeat the steps 2 and 3 for other drives </info> |
|
50 </step> |
|
51 <step id="GUID-77793647-1EC2-5F4A-BBA1-FF177EDC0202"><cmd/> |
|
52 <info>Save and close the <filepath>estart.txt</filepath> file </info> |
|
53 </step> |
|
54 <step id="GUID-88F40D66-9324-59D3-AAA1-46A207F42D98"><cmd/> |
|
55 <info>Build the ROM </info> |
|
56 </step> |
|
57 </steps> |
|
58 <result id="GUID-D4275C32-CB1E-531D-ADAD-129CFB2FFFA1"><p>32 most recently |
|
59 used leaf directory names will be cached in the leaf directory name cache |
|
60 for drive <codeph>D:</codeph> </p> </result> |
|
61 </taskbody><related-links> |
|
62 <link href="GUID-3D8B134E-3C2F-5BAF-82AB-0AB786A5D22D.dita"><linktext>Directory |
|
63 Cache Configuration Tutorial</linktext></link> |
|
64 </related-links></task> |