From 909e980713993ff31cbb9df5ead8262b4d5980f8 Mon Sep 17 00:00:00 2001 From: Guenter Kukkukk Date: Fri, 1 Mar 2013 00:36:08 +0100 Subject: [PATCH 4/5] vfs_catia: add a sample for filename mapping to the manual page Signed-off-by: Guenter Kukkukk --- docs-xml/manpages/vfs_catia.8.xml | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs-xml/manpages/vfs_catia.8.xml b/docs-xml/manpages/vfs_catia.8.xml index e86f73d..b18dc48 100644 --- a/docs-xml/manpages/vfs_catia.8.xml +++ b/docs-xml/manpages/vfs_catia.8.xml @@ -82,6 +82,15 @@ 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6,0x20:0xb1 + Unix filename to be translated (Note that the path delimiter "/" is not used here): + + a\a:a*a?a"a<a>a|a a + + Resulting windows filename: + + aÿa÷a¤a¿a¨a«a»a¦a±a + + Note that the character mapping must work in BOTH directions (unix -> windows and windows -> unix) to get unique and existing file names! @@ -99,8 +108,8 @@ Assuming a unix filename "a:should_work", which is well translated to windows as "a_should_work". 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. @@ -119,7 +128,7 @@ 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. - Written by Guenter Kukkukk kukks@samba.org + New version written by Guenter Kukkukk kukks@samba.org -- 1.7.3.4