1 | '\" t
|
---|
2 | .\" Title: vfs_catia
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 09/18/2013
|
---|
6 | .\" Manual: System Administration tools
|
---|
7 | .\" Source: Samba 3.6
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "VFS_CATIA" "8" "09/18/2013" "Samba 3\&.6" "System Administration tools"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * Define some portability stuff
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
15 | .\" http://bugs.debian.org/507673
|
---|
16 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
---|
17 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
18 | .ie \n(.g .ds Aq \(aq
|
---|
19 | .el .ds Aq '
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .\" * set default formatting
|
---|
22 | .\" -----------------------------------------------------------------
|
---|
23 | .\" disable hyphenation
|
---|
24 | .nh
|
---|
25 | .\" disable justification (adjust text to left margin only)
|
---|
26 | .ad l
|
---|
27 | .\" -----------------------------------------------------------------
|
---|
28 | .\" * MAIN CONTENT STARTS HERE *
|
---|
29 | .\" -----------------------------------------------------------------
|
---|
30 | .SH "NAME"
|
---|
31 | vfs_catia \- translate illegal characters in Catia filenames
|
---|
32 | .SH "SYNOPSIS"
|
---|
33 | .HP \w'\ 'u
|
---|
34 | vfs objects = catia
|
---|
35 | .SH "DESCRIPTION"
|
---|
36 | .PP
|
---|
37 | This VFS module is part of the
|
---|
38 | \fBsamba\fR(7)
|
---|
39 | suite\&.
|
---|
40 | .PP
|
---|
41 | The Catia CAD package commonly creates filenames that use characters that are illegal in CIFS filenames\&. The
|
---|
42 | vfs_catia
|
---|
43 | VFS module implements a character mapping so that these files can be shared with CIFS clients\&.
|
---|
44 | .PP
|
---|
45 | This module is stackable\&.
|
---|
46 | .PP
|
---|
47 | Up to samba version 3\&.4\&.x a fixed character mapping was used\&. The invalid windows characters \e / : * ? " < > | and the blank character were mapped in a hardcoded way\&.
|
---|
48 | .PP
|
---|
49 | Starting with samba\-3\&.5\&.0 a more flexible mapping was introduced\&. The new parameter "catia:mappings" now specifies the mapping on a char by char basis using the notation: unix hex char 0x\&.\&. : windows hex char 0x\&.\&. Multiple character mappings are separated by a comma\&.
|
---|
50 | .SH "EXAMPLES"
|
---|
51 | .PP
|
---|
52 | Samba versions up to 3\&.4\&.x:
|
---|
53 | .PP
|
---|
54 | Map Catia filenames on the [CAD] share:
|
---|
55 | .sp
|
---|
56 | .if n \{\
|
---|
57 | .RS 4
|
---|
58 | .\}
|
---|
59 | .nf
|
---|
60 | \fI[CAD]\fR
|
---|
61 | \m[blue]\fBpath = /data/cad\fR\m[]
|
---|
62 | \m[blue]\fBvfs objects = catia\fR\m[]
|
---|
63 | .fi
|
---|
64 | .if n \{\
|
---|
65 | .RE
|
---|
66 | .\}
|
---|
67 | .PP
|
---|
68 | Samba versions 3\&.5\&.0 and later:
|
---|
69 | .PP
|
---|
70 | Map Catia filenames on the [CAD] share:
|
---|
71 | .sp
|
---|
72 | .if n \{\
|
---|
73 | .RS 4
|
---|
74 | .\}
|
---|
75 | .nf
|
---|
76 | \fI[CAD]\fR
|
---|
77 | \m[blue]\fBpath = /data/cad\fR\m[]
|
---|
78 | \m[blue]\fBvfs objects = catia\fR\m[]
|
---|
79 | \m[blue]\fBcatia:mappings = 0x22:0xa8\fR\m[]
|
---|
80 | .fi
|
---|
81 | .if n \{\
|
---|
82 | .RE
|
---|
83 | .\}
|
---|
84 | .PP
|
---|
85 | To get the full formerly fixed mappings:
|
---|
86 | .sp
|
---|
87 | .if n \{\
|
---|
88 | .RS 4
|
---|
89 | .\}
|
---|
90 | .nf
|
---|
91 | \fI[CAD]\fR
|
---|
92 | \m[blue]\fBpath = /data/cad\fR\m[]
|
---|
93 | \m[blue]\fBvfs objects = catia\fR\m[]
|
---|
94 | \m[blue]\fBcatia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6,0x20:0xb1\fR\m[]
|
---|
95 | .fi
|
---|
96 | .if n \{\
|
---|
97 | .RE
|
---|
98 | .\}
|
---|
99 | .PP
|
---|
100 | Unix filename to be translated (Note that the path delimiter "/" is not used here):
|
---|
101 | .PP
|
---|
102 | a\ea:a*a?a"a<a>a|a a
|
---|
103 | .PP
|
---|
104 | Resulting windows filename:
|
---|
105 | .PP
|
---|
106 | aÿa\(dia\(Csa\(r?a\(ada\(Foa\(Fca\(bba\(+-a
|
---|
107 | .PP
|
---|
108 | Note that the character mapping must work in BOTH directions (unix \-> windows and windows \-> unix) to get unique and existing file names!
|
---|
109 | .PP
|
---|
110 | A NOT working example:
|
---|
111 | .sp
|
---|
112 | .if n \{\
|
---|
113 | .RS 4
|
---|
114 | .\}
|
---|
115 | .nf
|
---|
116 | \fI[CAD]\fR
|
---|
117 | \m[blue]\fBpath = /data/cad\fR\m[]
|
---|
118 | \m[blue]\fBvfs objects = catia\fR\m[]
|
---|
119 | \m[blue]\fBcatia:mappings = 0x3a:0x5f\fR\m[]
|
---|
120 | .fi
|
---|
121 | .if n \{\
|
---|
122 | .RE
|
---|
123 | .\}
|
---|
124 | .PP
|
---|
125 | Here the colon ":" is mapped to the underscore "_"\&.
|
---|
126 | .PP
|
---|
127 | Assuming a unix filename "a:should_work", which is well translated to windows as "a_should_work"\&.
|
---|
128 | .PP
|
---|
129 | BUT the reverse mapping from windows "a_should_work" to unix will result in "a:should:work" \- something like "file not found" will be returned\&.
|
---|
130 | .SH "VERSION"
|
---|
131 | .PP
|
---|
132 | This man page is correct for all versions up to 4\&.0\&.3 of the Samba suite\&.
|
---|
133 | .SH "AUTHOR"
|
---|
134 | .PP
|
---|
135 | The original Samba software and related utilities 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\&.
|
---|
136 | .PP
|
---|
137 | New version written by Guenter Kukkukk kukks@samba\&.org
|
---|