Some update and Fixes for typos.
[kai/samba.git] / docs / docbook / smbdotconf / filename / mangledmap.xml
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="MANGLEDMAP"/>mangled map (S)</term>
3                 <listitem><para>This is for those who want to directly map UNIX 
4                 file names which cannot be represented on Windows/DOS.  The mangling 
5                 of names is not always what is needed.  In particular you may have 
6                 documents with file extensions that differ between DOS and UNIX. 
7                 For example, under UNIX it is common to use <filename moreinfo="none">.html</filename> 
8                 for HTML files, whereas under Windows/DOS <filename moreinfo="none">.htm</filename> 
9                 is more commonly used.</para>
10
11                 <para>So to map <filename moreinfo="none">html</filename> to <filename moreinfo="none">htm</filename> 
12                 you would use:</para>
13                 
14                 <para><command moreinfo="none">mangled map = (*.html *.htm)</command></para>
15
16                 <para>One very useful case is to remove the annoying <filename moreinfo="none">;1
17                 </filename> off the ends of filenames on some CDROMs (only visible 
18                 under some UNIXes). To do this use a map of (*;1 *;).</para>
19
20                 <para>Default: <emphasis>no mangled map</emphasis></para>
21                 <para>Example: <command moreinfo="none">mangled map = (*;1 *;)</command></para>
22                 </listitem>
23                 </samba:parameter>