]> arthur.barton.de Git - netatalk.git/blob - man/man5/AppleVolumes.default.5.tmpl
Merge branch 'product-2-2' of git://netatalk.git.sourceforge.net/gitroot/netatalk...
[netatalk.git] / man / man5 / AppleVolumes.default.5.tmpl
1 '\" t
2 .\"     Title: AppleVolumes.default
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 13 Oct 2011
6 .\"    Manual: Netatalk 2.2
7 .\"    Source: Netatalk 2.2
8 .\"  Language: English
9 .\"
10 .TH "APPLEVOLUMES\&.DEFAU" "5" "13 Oct 2011" "Netatalk 2.2" "Netatalk 2.2"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 AppleVolumes.default, AppleVolumes.system, AppleVolumes \- Configuration file used by \fBafpd\fR(8) to determine the shares made available through AFP and specify file name extension mappings\&.
23 .SH "SYNOPSIS"
24 .HP \w'\fB:ETCDIR:/AppleVolumes\&.default\fR\fB\fR\fB:ETCDIR:/AppleVolumes\&.system\fR\fB\fR\fB~/AppleVolumes\fR\fB\fR\fB~/\&.AppleVolumes\fR\fB\fR\fB~/applevolumes\fR\fB\fR\fB~/\&.applevolumes\fR\fB\fR\ 'u
25 \fB:ETCDIR:/AppleVolumes\&.default\fR\fB\fR
26 .br
27 \fB:ETCDIR:/AppleVolumes\&.system\fR\fB\fR
28 .br
29 \fB~/AppleVolumes\fR\fB\fR
30 .br
31 \fB~/\&.AppleVolumes\fR\fB\fR
32 .br
33 \fB~/applevolumes\fR\fB\fR
34 .br
35 \fB~/\&.applevolumes\fR\fB\fR
36 .SH "DESCRIPTION"
37 .PP
38
39 :ETCDIR:/AppleVolumes\&.system
40 and one of
41 :ETCDIR:/AppleVolumes\&.default,
42 ~/AppleVolumes,
43 ~/\&.AppleVolumes,
44 ~/applevolumes, or
45 ~/\&.applevolumes
46 are the configuration files used by
47 \fBafpd\fR
48 to determine what portions of the file system will be shared via Apple Filing Protocol, as well as their behaviour\&.
49 .PP
50 Any line not prefixed with # is interpreted\&. Newline escaping is supported\&. The configuration lines are composed like:
51 .PP
52 path
53 \fI[ volume name ] [ options ]\fR
54 .PP
55 \&.extension
56 \fI[ type [ creator ] ]\fR
57 .PP
58 The path name must be a fully qualified path name, or a path name using either the ~ shell shorthand or any of the substitution variables, which are listed below\&.
59 .PP
60 The volume name is the name that appears in the Chooser ot the "connect to server" dialog on Macintoshes to represent the appropriate share\&. If volumename is unspecified, the last component of pathname is used\&. No two volumes may have the same name\&. If there are spaces in the name, it should be in quotes (i\&.e\&. "File Share")\&. The volume name cannot contain the
61 \':\'
62 character\&. The volume name is mangled if it is very long\&. Mac codepage volume name is limited to 27 characters\&. UTF8\-MAC volume name is limited to \-volnamelen parameter in afpd\&.conf
63 .if n \{\
64 .sp
65 .\}
66 .RS 4
67 .it 1 an-trap
68 .nr an-no-space-flag 1
69 .nr an-break-flag 1
70 .br
71 .ps +1
72 \fBNote\fR
73 .ps -1
74 .br
75 .PP
76 Each volume has to be configured on a
77 \fBsingle\fR
78 line\&. Though newline escaping is supported\&.
79 .sp .5v
80 .RE
81 .PP
82 The leading\-dot lines specify file name extension mappings\&. The extension \'\&.\' sets the default creator and type for otherwise untyped Unix files\&.
83 .if n \{\
84 .sp
85 .\}
86 .RS 4
87 .it 1 an-trap
88 .nr an-no-space-flag 1
89 .nr an-break-flag 1
90 .br
91 .ps +1
92 \fBNote\fR
93 .ps -1
94 .br
95 .PP
96 File name extension mapping is useful for Mac OS 9 and earlier\&. But it should not use for Mac OS X\&.
97 .sp .5v
98 .RE
99 .PP
100 It is possible to specify default options for all volumes with a
101 \fI:DEFAULT: \fRline preceeding these volume definitions:
102 .PP
103 \fBExample.\ \&:DEFAULT: configuration line\fR
104 .sp
105 .if n \{\
106 .RS 4
107 .\}
108 .nf
109 :DEFAULT: options:upriv,usedots dbpath:/var/dbd/AppleDB/$v dperm:0775 fperm:0664
110 .fi
111 .if n \{\
112 .RE
113 .\}
114 .PP
115 The possible options and their meanings are:
116 .PP
117 adouble:\fI[v1|v2|osx]\fR
118 .RS 4
119 Specify the format of the metadata files, which are used for saving Mac resource fork as well\&. Earlier versions used AppleDouble V1, the new default format is V2\&. Starting with Netatalk 2\&.0, the scheme MacOS X 10\&.3\&.x uses, is also supported\&.
120 .if n \{\
121 .sp
122 .\}
123 .RS 4
124 .it 1 an-trap
125 .nr an-no-space-flag 1
126 .nr an-break-flag 1
127 .br
128 .ps +1
129 \fBNote\fR
130 .ps -1
131 .br
132 \fBadouble:osx\fR
133 \fBcannot\fR
134 be treated normally any longer\&. Its only aim was to temporarely share eg\&. FAT32 formatted FireWire harddrives written on a Macintosh with afpd\&. Apple\'s metadata scheme lacks several essential features, so using it on the server\'s side will break both CNIDs and MacOS 9 compatibility\&. AppleDouble file of Mac OS X 10\&.6 is incompatible to V1 and V2\&.
135 .sp .5v
136 .RE
137 .RE
138 .PP
139 volsizelimit:\fIsize in MiB\fR
140 .RS 4
141 Useful for TimeMachine: limits the reported volume size, thus preventing TM from using the whole real disk space for backup\&. Example: "volsizelimit:1000" would limit the reported disk space to 1 GB\&.
142 \fBIMPORTANT: \fR
143 This is an approximated calculation taking into accout the contents of TM sparsebundle images\&. Therefor you MUST NOT use this volume to store other content when using this option, because it would NOT be accounted\&. The calculation works by reading the band size from the Info\&.plist XML file of the sparsebundle, reading the bands/ directory counting the number of band files, and then multiplying one with the other\&.
144 .RE
145 .PP
146 allow:\fI[users/groups]\fR
147 .RS 4
148 The allow option allows the users and groups that access a share to be specified\&. Users and groups are specified, delimited by commas\&. Groups are designated by a @ prefix\&. Example: allow:user1,user2,@group
149 .RE
150 .PP
151 deny:\fI[users/groups]\fR
152 .RS 4
153 The deny option specifies users and groups who are not allowed access to the share\&. It follows the same format as the allow option\&.
154 .RE
155 .PP
156 allowed_hosts:\fI[IP host address/IP netmask bits[, \&.\&.\&. ]]\fR
157 .RS 4
158 Only listed hosts and networks are allowed, all others are rejected\&. The network address may be specified either in dotted\-decimal format for IPv4 or in hexadecimal format for IPv6\&.
159 .sp
160 Example: allowed_hosts:10\&.1\&.0\&.0/16,10\&.2\&.1\&.100,2001:0db8:1234::/48
161 .RE
162 .PP
163 denied_hosts:\fI[IP host address/IP netmask bits[, \&.\&.\&.]]\fR
164 .RS 4
165 Listed hosts and nets are rejected, all others are allowed\&.
166 .sp
167 Example: denied_hosts: 192\&.168\&.100/24,10\&.1\&.1\&.1,2001:db8::1428:57ab
168 .RE
169 .PP
170 cnidscheme:\fI[backend]\fR
171 .RS 4
172 set the CNID backend to be used for the volume, default is [:DEFAULT_CNID_SCHEME:] available schemes: [:COMPILED_BACKENDS:]
173 .RE
174 .PP
175 dbpath:\fI[path]\fR
176 .RS 4
177 Sets the database information to be stored in path\&. You have to specifiy a writable location, even if the volume is read only\&.
178 .RE
179 .PP
180 cnidserver:\fI[fqdn|IP[:port]]\fR
181 .RS 4
182 Query this servername or IP address (default:\fIlocalhost\fR) and port (default:
183 \fI4700\fR) for CNIDs\&. Only used with CNID backend "\fIdbd\fR"\&. This option here overrides any setting from
184 afpd\&.conf:\fBcnidserver\fR\&.
185 .RE
186 .PP
187 ea:\fI[none|auto|sys|ad]\fR
188 .RS 4
189 Specify how Extended Attributes
190 are stored\&.
191 \fBauto\fR
192 is the default\&.
193 .PP
194 auto
195 .RS 4
196 Try
197 \fBsys\fR
198 (by setting an EA on the shared directory itself), fallback to
199 \fBad\fR\&. Requires writeable volume for perfoming test\&.
200 \fBoptions:ro\fR
201 overwrites
202 \fBauto\fR
203 with
204 \fBnone\fR\&. Use explicit
205 \fBea:sys|ad\fR
206 for read\-only volumes where appropiate\&.
207 .RE
208 .PP
209 sys
210 .RS 4
211 Use filesystem Extended Attributes\&.
212 .RE
213 .PP
214 ad
215 .RS 4
216 Use files in
217 \fI\&.AppleDouble\fR
218 directories\&.
219 .RE
220 .PP
221 none
222 .RS 4
223 No Extended Attributes support\&.
224 .RE
225 .RE
226 .PP
227 maccharset:\fI[charset]\fR
228 .RS 4
229 specifies the mac client codepage for this Volume, e\&.g\&. "MAC_ROMAN", "MAC_CYRILLIC"\&. If not specified the setting from
230 afpd\&.conf
231 is inherited\&. This setting is only required if you need volumes, where the mac codepage differs from the one globally set in
232 afpd\&.conf\&.
233 .RE
234 .PP
235 options:\fI[option]\fR
236 .RS 4
237 This allows multiple options to be specified in a comma delimited format\&. The available options are:
238 .PP
239 searchdb
240 .RS 4
241 Use fast CNID database namesearch instead of slow recursive filesystem search\&. Relies on a consistent CNID database, ie Samba or local filesystem access lead to inaccurate or wrong results\&. Works only for "dbd" CNID db volumes\&.
242 .RE
243 .PP
244 tm
245 .RS 4
246 Enable Time Machine suport for this volume\&.
247 .RE
248 .PP
249 invisibledots
250 .RS 4
251 Use with
252 \fBusedots\fR: make dot files invisible\&.
253 .RE
254 .PP
255 nonetids
256 .RS 4
257 Try to force ACL unawareness on the client\&.
258 .RE
259 .PP
260 limitsize
261 .RS 4
262 Limit disk size reporting to 2GB\&. This can be used for older Macintoshes using newer Appleshare clients\&.
263 .RE
264 .PP
265 preexec_close
266 .RS 4
267 a non\-zero return code from preexec close the volume being immediately, preventing clients to mount/see the volume in question\&.
268 .RE
269 .PP
270 ro
271 .RS 4
272 Specifies the share as being read only for all users\&. The \&.AppleDB directory has to be writeable, you can use the
273 \fB\-dbpath\fR
274 option to relocate it\&. Overwrites
275 \fBea:auto\fR
276 with
277 \fBea:none\fR
278 .RE
279 .PP
280 root_preexec_close
281 .RS 4
282 a non\-zero return code from root_preexec closes the volume immediately, preventing clients to mount/see the volume in question\&.
283 .RE
284 .PP
285 upriv
286 .RS 4
287 use AFP3 unix privileges\&. This should be set for OS X clients\&. Starting with Netatalk 2\&.1 it\'s part of the default config :DEFAULT: line\&. See also:
288 \fBperm|fperm|dperm\fR\&.
289 .RE
290 .PP
291 usedots
292 .RS 4
293 Don\'t do :hex translation for dot files\&. note: when this option gets set, certain file names become illegal\&. These are \&.Parent and anything that starts with \&.Apple\&. See also
294 \fBinvisibledots\fR\&.
295 .RE
296 .RE
297 .PP
298 password:\fI[password]\fR
299 .RS 4
300 This option allows you to set a volume password, which can be a maximum of 8 characters long (using ASCII strongly recommended at the time of this writing)\&.
301 .RE
302 .PP
303 perm|fperm|dperm:\fI[mode]\fR
304 .RS 4
305 Add(or) with the client requested permissions:
306 \fBperm\fR
307 affects files and directories,
308 \fBfperm\fR
309 is for files only,
310 \fBdperm\fR
311 is for directories only\&. Use with
312 \fBoptions:upriv\fR\&.
313 .PP
314 \fBExample.\ \&Volume for a collaborative workgroup\fR
315 .sp
316 .if n \{\
317 .RS 4
318 .\}
319 .nf
320 /path/to/volume "Workgroup" options:upriv dperm:0770 fperm:0660
321 .fi
322 .if n \{\
323 .RE
324 .\}
325 .RE
326 .PP
327 umask:\fI[mode]\fR
328 .RS 4
329 set perm mask\&. Use with
330 \fBoptions:upriv\fR\&.
331 .RE
332 .PP
333 preexec:\fI[command]\fR
334 .RS 4
335 command to be run when the volume is mounted, ignored for user defined volumes
336 .RE
337 .PP
338 postexec:\fI[command]\fR
339 .RS 4
340 command to be run when the volume is closed, ignored for user defined volumes
341 .RE
342 .PP
343 root_preexec:\fI[command]\fR
344 .RS 4
345 command to be run as root when the volume is mounted, ignored for user defined volumes
346 .RE
347 .PP
348 root_postexec:\fI[command]\fR
349 .RS 4
350 command to be run as root when the volume is closed, ignored for user defined volumes
351 .RE
352 .PP
353 rolist:[\fBusers/groups\fR]
354 .RS 4
355 Allows certain users and groups to have read\-only access to a share\&. This follows the allow option format\&.
356 .RE
357 .PP
358 rwlist:\fI[users/groups]\fR
359 .RS 4
360 Allows certain users and groups to have read/write access to a share\&. This follows the allow option format\&.
361 .RE
362 .PP
363 veto:\fI[vetoed names]\fR
364 .RS 4
365 hide files and directories,where the path matches one of the \'/\' delimited vetoed names\&. The veto string must always be terminated with a \'/\', eg\&. "veto1/", "veto1/veto2/"\&.
366 .RE
367 .PP
368 volcharset:\fI[charset]\fR
369 .RS 4
370 specifies the volume codepage, e\&.g\&. "UTF8", "UTF8\-MAC", "ISO\-8859\-15"\&. Defaults to "UTF8"\&.
371 .RE
372 .SH "VARIABLE SUBSTITUTIONS"
373 .PP
374 You can use variables in both volume path and volume name\&.
375 .sp
376 .RS 4
377 .ie n \{\
378 \h'-04' 1.\h'+01'\c
379 .\}
380 .el \{\
381 .sp -1
382 .IP "  1." 4.2
383 .\}
384 if you specify an unknown variable, it will not get converted\&.
385 .RE
386 .sp
387 .RS 4
388 .ie n \{\
389 \h'-04' 2.\h'+01'\c
390 .\}
391 .el \{\
392 .sp -1
393 .IP "  2." 4.2
394 .\}
395 if you specify a known variable, but that variable doesn\'t have a value, it will get ignored\&.
396 .RE
397 .PP
398 The variables which can be used for substitutions are:
399 .PP
400 $b
401 .RS 4
402 basename
403 .RE
404 .PP
405 $c
406 .RS 4
407 client\'s ip or appletalk address
408 .RE
409 .PP
410 $d
411 .RS 4
412 volume pathname on server
413 .RE
414 .PP
415 $f
416 .RS 4
417 full name (contents of the gecos field in the passwd file)
418 .RE
419 .PP
420 $g
421 .RS 4
422 group name
423 .RE
424 .PP
425 $h
426 .RS 4
427 hostname
428 .RE
429 .PP
430 $i
431 .RS 4
432 client\'s ip, without port
433 .RE
434 .PP
435 $s
436 .RS 4
437 server name (this can be the hostname)
438 .RE
439 .PP
440 $u
441 .RS 4
442 user name (if guest, it is the user that guest is running as)
443 .RE
444 .PP
445 $v
446 .RS 4
447 volume name (either ADEID_NAME or basename of path)
448 .RE
449 .PP
450 $z
451 .RS 4
452 appletalk zone (may not exist)
453 .RE
454 .PP
455 $$
456 .RS 4
457 prints dollar sign ($)
458 .RE
459 .PP
460 \fBExample.\ \&Using variable substitution when defining volumes\fR
461 .PP
462 .if n \{\
463 .RS 4
464 .\}
465 .nf
466 /home/groups/$g "Groupdir for $g"
467 ~ "$f is the best one"
468 .fi
469 .if n \{\
470 .RE
471 .\}
472 .sp
473 We define "groupdirs" for each primary group and use a personalized server name for homedir shares\&.
474 .SH "CNID BACKENDS"
475 .PP
476 The AFP protocol mostly refers to files and directories by ID and not by name\&. Netatalk needs a way to store these ID\'s in a persistent way, to achieve this several different CNID backends are available\&. The CNID Databases are by default located in the
477 \&.AppleDB
478 folder in the volume root\&.
479 .PP
480 cdb
481 .RS 4
482 "Concurrent database", backend is based on Sleepycat\'s Berkely DB\&. With this backend several
483 \fBafpd\fR
484 deamons access the CNID database directly\&. Berkeley DB locking is used to synchronize access, if more than one
485 \fBafpd\fR
486 process is active for a volume\&. The drawback is, that the crash of a single
487 \fBafpd\fR
488 process might corrupt the database\&.
489 .RE
490 .PP
491 dbd
492 .RS 4
493 Access to the CNID database is restricted to the
494 \fBcnid_metad\fR
495 daemon process\&.
496 \fBafpd\fR
497 processes communicate with the daemon for database reads and updates\&. If built with Berkeley DB transactions the probability for database corruption is practically zero, but performance can be slower than with
498 \fBcdb\fR
499 .RE
500 .PP
501 last
502 .RS 4
503 This backend is an exception, in terms of ID persistency\&. ID\'s are only valid for the current session\&. This is basically what
504 \fBafpd\fR
505 did in the 1\&.5 (and 1\&.6) versions\&. This backend is still available, as it is useful for e\&.g\&. sharing cdroms\&.
506 .sp
507 \fBWarning\fR: It is
508 \fINOT\fR
509 recommended to use this backend for volumes anymore, as
510 \fBafpd\fR
511 now relies heavily on a persistent ID database\&. Aliases will likely not work and filename mangling is not supported\&.
512 .RE
513 .PP
514 Even though
515 \fB\&./configure \-\-help\fR
516 might show that there are other CNID backends available, be warned those are likely broken or mainly used for testing\&. Don\'t use them unless you know what you\'re doing, they may be removed without further notice from future versions\&.
517 .SH "CHARSET OPTIONS"
518 .PP
519 With OS X Apple introduced the AFP3 protocol\&. One of the most important changes was that AFP3 uses unicode names encoded as UTF\-8 decomposed\&. Previous AFP/OS versions used codepages, like MacRoman, MacCentralEurope, etc\&.
520 .PP
521 \fBafpd\fR
522 needs a way to preserve extended macintosh characters, or characters illegal in unix filenames, when saving files on a unix filesystem\&. Earlier versions used the the so called CAP encoding\&. An extended character (>0x7F) would be converted to a :xx sequence, e\&.g\&. the Apple Logo (MacRoman: 0XF0) was saved as
523 :f0\&. Some special characters will be converted as to :xx notation as well\&. \'/\' will be encoded to
524 :2f, if
525 \fBusedots\fR
526 is not specified, a leading dot \'\&.\' will be encoded as
527 :2e\&.
528 .PP
529 This version now uses UTF\-8 as the default encoding for names\&. Special characters, like \'/\' and a leading \'\&.\' will still be CAP style encoded \&.
530 .PP
531 The
532 \fB\-volcharset\fR
533 option will allow you to select another volume encoding\&. E\&.g\&. for western users another useful setting could be \-volcharset ISO\-8859\-15\&.
534 \fBapfd\fR
535 will accept any
536 \fBiconv\fR(1)
537 provided charset\&. If a character cannot be converted from the mac codepage to the selected volcharset, afpd will save it as a CAP encoded character\&. For AFP3 clients,
538 \fBafpd\fR
539 will convert the UTF\-8
540 character to
541 \fB\-maccharset\fR
542 first\&. If this conversion fails, you\'ll receive a \-50 error on the mac\&.
543 .PP
544 \fINote\fR: Whenever you can, please stick with the default UTF\-8 volume format\&.
545 .SH "COMPATIBILITY WITH EARLIER VERSIONS"
546 .PP
547 To use a volume created with an earlier
548 \fBafpd\fR
549 version, you\'ll have to specify the following options:
550 .PP
551 \fBExample.\ \&use a 1.x style volume\fR
552 .sp
553 .if n \{\
554 .RS 4
555 .\}
556 .nf
557 /path/to/volume "Volname" adouble:v1 volcharset:ASCII
558 .fi
559 .if n \{\
560 .RE
561 .\}
562 .PP
563 In case you used an NLS you could try using a compatible iconv charset for
564 \fB\-volcharset\fR\&.
565 .PP
566 \fBExample.\ \&use a 1.x style volume, created with maccode.iso8859-1\fR
567 .sp
568 .if n \{\
569 .RS 4
570 .\}
571 .nf
572 /path/to/volume "Volname" adouble:v1 volcharset:ISO\-8859\-1
573 .fi
574 .if n \{\
575 .RE
576 .\}
577 .PP
578 You should consider converting old style volumes to the new UTF\-8/AD2 format\&. The safest way to do this, is to create a new volume with the default options and copy the files between this volumes with a mac\&.
579 .PP
580 \fINote\fR: Using above example options will allow you to downgrade to 1\&.x netatalk again\&.
581 .PP
582 \fINote\fR: Some 1\&.x NLS files used non standard mappings, e\&.g\&.
583 maccode\&.iso8859\-1\&.adapted\&. Three 1\&.x CAP double\-byte maccharsets are incompatible to netatalk 2\&.x; "MAC_CHINESE_TRAD", "MAC_JAPANESE" and "MAC_KOREAN"\&. These are not supported anymore\&. You\'ll have to copy the contents of those volumes files to a Mac and then back to the netatalk server, preferably to an UTF\-8 volume\&.
584 .SH "ADVANCED OPTIONS"
585 .PP
586 The following options should only be used after serious consideration\&. Be sure you fully understood the, sometimes complex, consequences, before using them\&.
587 .PP
588 casefold:\fB[option]\fR
589 .RS 4
590 The casefold option handles, if the case of filenames should be changed\&. The available options are:
591 .sp
592 \fBtolower\fR
593 \- Lowercases names in both directions\&.
594 .sp
595 \fBtoupper\fR
596 \- Uppercases names in both directions\&.
597 .sp
598 \fBxlatelower\fR
599 \- Client sees lowercase, server sees uppercase\&.
600 .sp
601 \fBxlateupper\fR
602 \- Client sees uppercase, server sees lowercase\&.
603 .RE
604 .PP
605 options:[\fBoption\fR]
606 .RS 4
607 This allows multiple options to be specified in a comma delimited format\&. The available options are:
608 .PP
609 caseinsensitive
610 .RS 4
611 The underlying filesystem is case insensitive (only tested with JFS in OS2 mode)\&.
612 .RE
613 .PP
614 crlf
615 .RS 4
616 Enables crlf translation for TEXT files, automatically converting macintosh line breaks into Unix ones\&. Use of this option might be dangerous since some older programs store binary data files as type "TEXT" when saving and switch the filetype in a second step\&.
617 \fBAfpd\fR
618 will potentially destroy such files when "erroneously" changing bytes in order to do line break translation\&.
619 .RE
620 .PP
621 dropbox
622 .RS 4
623 Allows a volume to be declared as being a "dropbox\&." Note that netatalk must be compiled with dropkludge support for this to function\&.
624 \fIWarning\fR: This option is deprecated and might not work as expected\&.
625 .RE
626 .PP
627 dropkludge
628 .RS 4
629 same as "dropbox"\&.
630 .RE
631 .PP
632 mswindows
633 .RS 4
634 Forces filename restrictions imposed by MS WinXX\&.
635 \fIWarning\fR: This is
636 \fINOT\fR
637 recommened for volumes mainly used by Macs\&. Please make sure you fully understand this option before using it\&.
638 .if n \{\
639 .sp
640 .\}
641 .RS 4
642 .it 1 an-trap
643 .nr an-no-space-flag 1
644 .nr an-break-flag 1
645 .br
646 .ps +1
647 \fBWarning\fR
648 .ps -1
649 .br
650 This option breaks direct saving to netatalk volumes from some applications, i\&.e\&. OfficeX\&.
651 .sp .5v
652 .RE
653 .RE
654 .PP
655 noadouble
656 .RS 4
657 Forces
658 \fBafpd\fR
659 to not create \&.AppleDouble directories unless macintosh metadata needs to be written\&. This option is only useful if you want to share files mostly used NOT by macs, causing
660 \fBafpd\fR
661 to not automatically create \&.AppleDouble subdirs containing AD header files in every directory it enters (which will it do by default)\&.
662 .sp
663 In case, you save or change files from mac clients, AD metadata files have to be written even in case you set this option\&. So you can\'t avoid the creation of \&.AppleDouble directories and its contents when you give macs write access to a share and they make use of it\&.
664 .sp
665 Try to avoid
666 \fBnoadouble\fR
667 whenever possible\&.
668 .RE
669 .PP
670 nocnidcache
671 .RS 4
672 If set
673 \fBafpd\fR
674 doesn\'t store the ID information in AppleDouble V2 header files\&. As these IDs are used for caching and as a database backup, this option normally shouldn\'t be set\&.
675 .RE
676 .PP
677 nodev
678 .RS 4
679 always use 0 for device number, helps when the device number is not constant across a reboot, cluster, \&.\&.\&.
680 .RE
681 .PP
682 nofileid
683 .RS 4
684 don\'t advertise createfileid, resolveid, deleteid calls\&.
685 .RE
686 .PP
687 nohex
688 .RS 4
689 Disables :hex translations for anything except dot files\&. This option makes the
690 \'/\' character illegal\&.
691 .RE
692 .PP
693 nostat
694 .RS 4
695 don\'t stat volume path when enumerating volumes list, useful for automounting or volumes created by a preexec script\&.
696 .RE
697 .PP
698 prodos
699 .RS 4
700 Provides compatibility with Apple II clients\&. (legacy)
701 .RE
702 .RE
703 .SH "FILE NAME EXTENSION MAPPINGS"
704 .PP
705 \fBExample.\ \&Extension is jpg. Type is "JPEG". Creator is "ogle".\fR
706 .sp
707 .if n \{\
708 .RS 4
709 .\}
710 .nf
711 \&.jpg "JPEG" "ogle"
712 .fi
713 .if n \{\
714 .RE
715 .\}
716 .PP
717 \fBExample.\ \&Extension is lzh. Type is "LHA ". Creator is not defined.\fR
718 .sp
719 .if n \{\
720 .RS 4
721 .\}
722 .nf
723 \&.lzh "LHA "
724 .fi
725 .if n \{\
726 .RE
727 .\}
728 .SH "SEE ALSO"
729 .PP
730 \fBafpd.conf\fR(5),
731 \fBafpd\fR(8),
732 \fBcnid_metad\fR(8)