vfs_catia: add a sample for filename mapping to the manual page
authorGuenter Kukkukk <kukks@samba.org>
Thu, 28 Feb 2013 23:36:08 +0000 (00:36 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 7 Mar 2013 19:33:59 +0000 (11:33 -0800)
Signed-off-by: Guenter Kukkukk <kukks@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
docs-xml/manpages/vfs_catia.8.xml

index e86f73dca5283befd753c1dfaa6dc9b802a48f99..b18dc4819a239942db3f1158672644cb006d97d0 100644 (file)
        <smbconfoption name="catia:mappings">0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6,0x20:0xb1</smbconfoption>
 </programlisting>
 
+        <para>Unix filename to be translated (Note that the path delimiter "/" is not used here):
+       </para>
+       <para>a\a:a*a?a"a&lt;a&gt;a|a a</para>
+
+       <para>Resulting windows filename:</para>
+
+       <para>a&#x00ff;a&#x00f7;a&#x00a4;a&#x00bf;a&#x00a8;a&#x00ab;a&#x00bb;a&#x00a6;a&#x00b1;a
+       </para>
+
         <para>Note that the character mapping must work in BOTH directions
        (unix -&gt; windows and windows -&gt; unix) to get unique and existing file names!
        </para>
         <para>Assuming a unix filename "a:should_work", which is well translated
         to windows as "a_should_work".</para>
         <para>BUT the reverse mapping from windows "a_should_work" to unix
-        will result to "a:should:work" - something like "file not found"
-        would be returned.
+        will result in "a:should:work" - something like "file not found"
+        will be returned.
         </para>
 
 </refsect1>
        were created by Andrew Tridgell. Samba is now developed
        by the Samba Team as an Open Source project similar
        to the way the Linux kernel is developed.</para>
-       <para>Written by Guenter Kukkukk kukks@samba.org</para>
+       <para>New version written by Guenter Kukkukk kukks@samba.org</para>
 
 </refsect1>