Changeset 862 for trunk/server/docs/manpages/vfs_catia.8
- Timestamp:
- May 13, 2014, 11:39:04 AM (11 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/docs/manpages/vfs_catia.8
r752 r862 2 2 .\" Title: vfs_catia 3 3 .\" Author: [see the "AUTHOR" section] 4 .\" Generator: DocBook XSL Stylesheets v1.7 5.2<http://docbook.sf.net/>5 .\" Date: 10/29/20124 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> 5 .\" Date: 09/18/2013 6 6 .\" Manual: System Administration tools 7 7 .\" Source: Samba 3.6 8 8 .\" Language: English 9 9 .\" 10 .TH "VFS_CATIA" "8" "10/29/2012" "Samba 3\&.6" "System Administration tools" 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 ' 11 20 .\" ----------------------------------------------------------------- 12 21 .\" * set default formatting … … 32 41 The Catia CAD package commonly creates filenames that use characters that are illegal in CIFS filenames\&. The 33 42 vfs_catia 34 VFS module implements a fixedcharacter mapping so that these files can be shared with CIFS clients\&.43 VFS module implements a character mapping so that these files can be shared with CIFS clients\&. 35 44 .PP 36 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\&. 37 50 .SH "EXAMPLES" 51 .PP 52 Samba versions up to 3\&.4\&.x: 38 53 .PP 39 54 Map Catia filenames on the [CAD] share: … … 50 65 .RE 51 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\&. 52 130 .SH "VERSION" 53 131 .PP 54 This man page is correct for version 3\&.0\&.25of the Samba suite\&.132 This man page is correct for all versions up to 4\&.0\&.3 of the Samba suite\&. 55 133 .SH "AUTHOR" 56 134 .PP 57 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
Note:
See TracChangeset
for help on using the changeset viewer.