]> arthur.barton.de Git - netatalk.git/blob - man/man5/AppleVolumes.default.5.tmpl
Freshly generated manpages from XML sources
[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: 08 Mar 2011
6 .\"    Manual: Netatalk 2.2
7 .\"    Source: Netatalk 2.2
8 .\"  Language: English
9 .\"
10 .TH "APPLEVOLUMES\&.DEFAU" "5" "08 Mar 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 .RE
143 .PP
144 allow:\fI[users/groups]\fR
145 .RS 4
146 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
147 .RE
148 .PP
149 deny:\fI[users/groups]\fR
150 .RS 4
151 The deny option specifies users and groups who are not allowed access to the share\&. It follows the same format as the allow option\&.
152 .RE
153 .PP
154 allowed_hosts:\fI[IP host address/IP netmask bits[, \&.\&.\&. ]]\fR
155 .RS 4
156 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\&.
157 .sp
158 Example: allowed_hosts:10\&.1\&.0\&.0/16,10\&.2\&.1\&.100,2001:0db8:1234::/48
159 .RE
160 .PP
161 denied_hosts:\fI[IP host address/IP netmask bits[, \&.\&.\&.]]\fR
162 .RS 4
163 Listed hosts and nets are rejected, all others are allowed\&.
164 .sp
165 Example: denied_hosts: 192\&.168\&.100/24,10\&.1\&.1\&.1,2001:db8::1428:57ab
166 .RE
167 .PP
168 cnidscheme:\fI[backend]\fR
169 .RS 4
170 set the CNID backend to be used for the volume, default is [:DEFAULT_CNID_SCHEME:] available schemes: [:COMPILED_BACKENDS:]
171 .RE
172 .PP
173 dbpath:\fI[path]\fR
174 .RS 4
175 Sets the database information to be stored in path\&. You have to specifiy a writable location, even if the volume is read only\&.
176 .RE
177 .PP
178 cnidserver:\fI[fqdn|IP[:port]]\fR
179 .RS 4
180 Query this servername or IP address (default:\fIlocalhost\fR) and port (default:
181 \fI4700\fR) for CNIDs\&. Only used with CNID backend "\fIdbd\fR"\&. This option here overrides any setting from
182 afpd\&.conf:\fBcnidserver\fR\&.
183 .RE
184 .PP
185 ea:\fI[none|auto|sys|ad]\fR
186 .RS 4
187 Specify how Extended Attributes
188 are stored\&.
189 \fBauto\fR
190 is the default\&.
191 .PP
192 auto
193 .RS 4
194 Try
195 \fBsys\fR
196 (by setting an EA on the shared directory itself), fallback to
197 \fBad\fR\&. Requires writeable volume for perfoming test\&.
198 \fBoptions:ro\fR
199 overwrites
200 \fBauto\fR
201 with
202 \fBnone\fR\&. Use explicit
203 \fBea:sys|ad\fR
204 for read\-only volumes where appropiate\&.
205 .RE
206 .PP
207 sys
208 .RS 4
209 Use filesystem Extended Attributes\&.
210 .RE
211 .PP
212 ad
213 .RS 4
214 Use files in
215 \fI\&.AppleDouble\fR
216 directories\&.
217 .RE
218 .PP
219 none
220 .RS 4
221 No Extended Attributes support\&.
222 .RE
223 .RE
224 .PP
225 maccharset:\fI[charset]\fR
226 .RS 4
227 specifies the mac client codepage for this Volume, e\&.g\&. "MAC_ROMAN", "MAC_CYRILLIC"\&. If not specified the setting from
228 afpd\&.conf
229 is inherited\&. This setting is only required if you need volumes, where the mac codepage differs from the one globally set in
230 afpd\&.conf\&.
231 .RE
232 .PP
233 options:\fI[option]\fR
234 .RS 4
235 This allows multiple options to be specified in a comma delimited format\&. The available options are:
236 .PP
237 searchdb
238 .RS 4
239 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\&.
240 .RE
241 .PP
242 tm
243 .RS 4
244 Enable Time Machine suport for this volume\&.
245 .RE
246 .PP
247 invisibledots
248 .RS 4
249 Use with
250 \fBusedots\fR: make dot files invisible\&.
251 .RE
252 .PP
253 limitsize
254 .RS 4
255 Limit disk size reporting to 2GB\&. This can be used for older Macintoshes using newer Appleshare clients\&.
256 .RE
257 .PP
258 preexec_close
259 .RS 4
260 a non\-zero return code from preexec close the volume being immediately, preventing clients to mount/see the volume in question\&.
261 .RE
262 .PP
263 ro
264 .RS 4
265 Specifies the share as being read only for all users\&. The \&.AppleDB directory has to be writeable, you can use the
266 \fB\-dbpath\fR
267 option to relocate it\&. Overwrites
268 \fBea:auto\fR
269 with
270 \fBea:none\fR
271 .RE
272 .PP
273 root_preexec_close
274 .RS 4
275 a non\-zero return code from root_preexec closes the volume immediately, preventing clients to mount/see the volume in question\&.
276 .RE
277 .PP
278 upriv
279 .RS 4
280 use AFP3 unix privileges\&. Become familiar with the new "unix privileges" AFP permissions concepts in MacOS X before using this option\&. See also:
281 \fBperm|fperm|dperm\fR\&.
282 .RE
283 .PP
284 usedots
285 .RS 4
286 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
287 \fBinvisibledots\fR\&.
288 .RE
289 .RE
290 .PP
291 password:\fI[password]\fR
292 .RS 4
293 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)\&.
294 .RE
295 .PP
296 perm|fperm|dperm:\fI[mode]\fR
297 .RS 4
298 Add(or) with the client requested permissions:
299 \fBperm\fR
300 affects files and directories,
301 \fBfperm\fR
302 is for files only,
303 \fBdperm\fR
304 is for directories only\&. Use with
305 \fBoptions:upriv\fR\&.
306 .PP
307 \fBExample.\ \&Volume for a collaborative workgroup\fR
308 .sp
309 .if n \{\
310 .RS 4
311 .\}
312 .nf
313 /path/to/volume "Workgroup" options:upriv dperm:0770 fperm:0660
314 .fi
315 .if n \{\
316 .RE
317 .\}
318 .RE
319 .PP
320 umask:\fI[mode]\fR
321 .RS 4
322 set perm mask\&. Use with
323 \fBoptions:upriv\fR\&.
324 .RE
325 .PP
326 preexec:\fI[command]\fR
327 .RS 4
328 command to be run when the volume is mounted, ignored for user defined volumes
329 .RE
330 .PP
331 postexec:\fI[command]\fR
332 .RS 4
333 command to be run when the volume is closed, ignored for user defined volumes
334 .RE
335 .PP
336 root_preexec:\fI[command]\fR
337 .RS 4
338 command to be run as root when the volume is mounted, ignored for user defined volumes
339 .RE
340 .PP
341 root_postexec:\fI[command]\fR
342 .RS 4
343 command to be run as root when the volume is closed, ignored for user defined volumes
344 .RE
345 .PP
346 rolist:[\fBusers/groups\fR]
347 .RS 4
348 Allows certain users and groups to have read\-only access to a share\&. This follows the allow option format\&.
349 .RE
350 .PP
351 rwlist:\fI[users/groups]\fR
352 .RS 4
353 Allows certain users and groups to have read/write access to a share\&. This follows the allow option format\&.
354 .RE
355 .PP
356 veto:\fI[vetoed names]\fR
357 .RS 4
358 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/"\&.
359 .RE
360 .PP
361 volcharset:\fI[charset]\fR
362 .RS 4
363 specifies the volume codepage, e\&.g\&. "UTF8", "UTF8\-MAC", "ISO\-8859\-15"\&. Defaults to "UTF8"\&.
364 .RE
365 .SH "VARIABLE SUBSTITUTIONS"
366 .PP
367 You can use variables in both volume path and volume name\&.
368 .sp
369 .RS 4
370 .ie n \{\
371 \h'-04' 1.\h'+01'\c
372 .\}
373 .el \{\
374 .sp -1
375 .IP "  1." 4.2
376 .\}
377 if you specify an unknown variable, it will not get converted\&.
378 .RE
379 .sp
380 .RS 4
381 .ie n \{\
382 \h'-04' 2.\h'+01'\c
383 .\}
384 .el \{\
385 .sp -1
386 .IP "  2." 4.2
387 .\}
388 if you specify a known variable, but that variable doesn\'t have a value, it will get ignored\&.
389 .RE
390 .PP
391 The variables which can be used for substitutions are:
392 .PP
393 $b
394 .RS 4
395 basename
396 .RE
397 .PP
398 $c
399 .RS 4
400 client\'s ip or appletalk address
401 .RE
402 .PP
403 $d
404 .RS 4
405 volume pathname on server
406 .RE
407 .PP
408 $f
409 .RS 4
410 full name (contents of the gecos field in the passwd file)
411 .RE
412 .PP
413 $g
414 .RS 4
415 group name
416 .RE
417 .PP
418 $h
419 .RS 4
420 hostname
421 .RE
422 .PP
423 $i
424 .RS 4
425 client\'s ip, without port
426 .RE
427 .PP
428 $s
429 .RS 4
430 server name (this can be the hostname)
431 .RE
432 .PP
433 $u
434 .RS 4
435 user name (if guest, it is the user that guest is running as)
436 .RE
437 .PP
438 $v
439 .RS 4
440 volume name (either ADEID_NAME or basename of path)
441 .RE
442 .PP
443 $z
444 .RS 4
445 appletalk zone (may not exist)
446 .RE
447 .PP
448 $$
449 .RS 4
450 prints dollar sign ($)
451 .RE
452 .PP
453 \fBExample.\ \&Using variable substitution when defining volumes\fR
454 .PP
455 .if n \{\
456 .RS 4
457 .\}
458 .nf
459 /home/groups/$g "Groupdir for $g"
460 ~ "$f is the best one"
461 .fi
462 .if n \{\
463 .RE
464 .\}
465 .sp
466 We define "groupdirs" for each primary group and use a personalized server name for homedir shares\&.
467 .SH "CNID BACKENDS"
468 .PP
469 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
470 \&.AppleDB
471 folder in the volume root\&.
472 .PP
473 cdb
474 .RS 4
475 "Concurrent database", backend is based on Sleepycat\'s Berkely DB\&. With this backend several
476 \fBafpd\fR
477 deamons access the CNID database directly\&. Berkeley DB locking is used to synchronize access, if more than one
478 \fBafpd\fR
479 process is active for a volume\&. The drawback is, that the crash of a single
480 \fBafpd\fR
481 process might corrupt the database\&.
482 .RE
483 .PP
484 dbd
485 .RS 4
486 Access to the CNID database is restricted to the
487 \fBcnid_metad\fR
488 daemon process\&.
489 \fBafpd\fR
490 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
491 \fBcdb\fR
492 .RE
493 .PP
494 last
495 .RS 4
496 This backend is an exception, in terms of ID persistency\&. ID\'s are only valid for the current session\&. This is basically what
497 \fBafpd\fR
498 did in the 1\&.5 (and 1\&.6) versions\&. This backend is still available, as it is useful for e\&.g\&. sharing cdroms\&.
499 .sp
500 \fBWarning\fR: It is
501 \fINOT\fR
502 recommended to use this backend for volumes anymore, as
503 \fBafpd\fR
504 now relies heavily on a persistent ID database\&. Aliases will likely not work and filename mangling is not supported\&.
505 .RE
506 .PP
507 Even though
508 \fB\&./configure \-\-help\fR
509 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\&.
510 .SH "CHARSET OPTIONS"
511 .PP
512 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\&.
513 .PP
514 \fBafpd\fR
515 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
516 :f0\&. Some special characters will be converted as to :xx notation as well\&. \'/\' will be encoded to
517 :2f, if
518 \fB\-usedots\fR
519 is not specified, a leading dot \'\&.\' will be encoded as
520 :2e\&.
521 .PP
522 This version now uses UTF\-8 as the default encoding for names\&. Special characters, like \'/\' and a leading \'\&.\' will still be CAP style encoded \&.
523 .PP
524 The
525 \fB\-volcharset\fR
526 option will allow you to select another volume encoding\&. E\&.g\&. for western users another useful setting could be \-volcharset ISO\-8859\-15\&.
527 \fBapfd\fR
528 will accept any
529 \fBiconv\fR(1)
530 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,
531 \fBafpd\fR
532 will convert the UTF\-8
533 character to
534 \fB\-maccharset\fR
535 first\&. If this conversion fails, you\'ll receive a \-50 error on the mac\&.
536 .PP
537 \fINote\fR: Whenever you can, please stick with the default UTF\-8 volume format\&.
538 .SH "COMPATIBILITY WITH EARLIER VERSIONS"
539 .PP
540 To use a volume created with an earlier
541 \fBafpd\fR
542 version, you\'ll have to specify the following options:
543 .PP
544 \fBExample.\ \&use a 1.x style volume\fR
545 .sp
546 .if n \{\
547 .RS 4
548 .\}
549 .nf
550 /path/to/volume "Volname" adouble:v1 volcharset:ASCII
551 .fi
552 .if n \{\
553 .RE
554 .\}
555 .PP
556 In case you used an NLS you could try using a compatible iconv charset for
557 \fB\-volcharset\fR\&.
558 .PP
559 \fBExample.\ \&use a 1.x style volume, created with maccode.iso8859-1\fR
560 .sp
561 .if n \{\
562 .RS 4
563 .\}
564 .nf
565 /path/to/volume "Volname" adouble:v1 volcharset:ISO\-8859\-1
566 .fi
567 .if n \{\
568 .RE
569 .\}
570 .PP
571 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\&.
572 .PP
573 \fINote\fR: Using above example options will allow you to downgrade to 1\&.x netatalk again\&.
574 .PP
575 \fINote\fR: Some 1\&.x NLS files used non standard mappings, e\&.g\&.
576 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\&.
577 .SH "ADVANCED OPTIONS"
578 .PP
579 The following options should only be used after serious consideration\&. Be sure you fully understood the, sometimes complex, consequences, before using them\&.
580 .PP
581 casefold:\fB[option]\fR
582 .RS 4
583 The casefold option handles, if the case of filenames should be changed\&. The available options are:
584 .sp
585 \fBtolower\fR
586 \- Lowercases names in both directions\&.
587 .sp
588 \fBtoupper\fR
589 \- Uppercases names in both directions\&.
590 .sp
591 \fBxlatelower\fR
592 \- Client sees lowercase, server sees uppercase\&.
593 .sp
594 \fBxlateupper\fR
595 \- Client sees uppercase, server sees lowercase\&.
596 .RE
597 .PP
598 options:[\fBoption\fR]
599 .RS 4
600 This allows multiple options to be specified in a comma delimited format\&. The available options are:
601 .PP
602 caseinsensitive
603 .RS 4
604 The underlying filesystem is case insensitive (only tested with JFS in OS2 mode)\&.
605 .RE
606 .PP
607 crlf
608 .RS 4
609 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\&.
610 \fBAfpd\fR
611 will potentially destroy such files when "erroneously" changing bytes in order to do line break translation\&.
612 .RE
613 .PP
614 dropbox
615 .RS 4
616 Allows a volume to be declared as being a "dropbox\&." Note that netatalk must be compiled with dropkludge support for this to function\&.
617 \fIWarning\fR: This option is deprecated and might not work as expected\&.
618 .RE
619 .PP
620 dropkludge
621 .RS 4
622 same as "dropbox"\&.
623 .RE
624 .PP
625 mswindows
626 .RS 4
627 Forces filename restrictions imposed by MS WinXX\&.
628 \fIWarning\fR: This is
629 \fINOT\fR
630 recommened for volumes mainly used by Macs\&. Please make sure you fully understand this option before using it\&.
631 .if n \{\
632 .sp
633 .\}
634 .RS 4
635 .it 1 an-trap
636 .nr an-no-space-flag 1
637 .nr an-break-flag 1
638 .br
639 .ps +1
640 \fBWarning\fR
641 .ps -1
642 .br
643 This option breaks direct saving to netatalk volumes from some applications, i\&.e\&. OfficeX\&.
644 .sp .5v
645 .RE
646 .RE
647 .PP
648 noadouble
649 .RS 4
650 Forces
651 \fBafpd\fR
652 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
653 \fBafpd\fR
654 to not automatically create \&.AppleDouble subdirs containing AD header files in every directory it enters (which will it do by default)\&.
655 .sp
656 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\&.
657 .sp
658 Try to avoid
659 \fBnoadouble\fR
660 whenever possible\&.
661 .RE
662 .PP
663 nocnidcache
664 .RS 4
665 If set
666 \fBafpd\fR
667 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\&.
668 .RE
669 .PP
670 nodev
671 .RS 4
672 always use 0 for device number, helps when the device number is not constant across a reboot, cluster, \&.\&.\&.
673 .RE
674 .PP
675 nofileid
676 .RS 4
677 don\'t advertise createfileid, resolveid, deleteid calls\&.
678 .RE
679 .PP
680 nohex
681 .RS 4
682 Disables :hex translations for anything except dot files\&. This option makes the
683 \'/\' character illegal\&.
684 .RE
685 .PP
686 nostat
687 .RS 4
688 don\'t stat volume path when enumerating volumes list, useful for automounting or volumes created by a preexec script\&.
689 .RE
690 .PP
691 prodos
692 .RS 4
693 Provides compatibility with Apple II clients\&. (legacy)
694 .RE
695 .RE
696 .SH "FILE NAME EXTENSION MAPPINGS"
697 .PP
698 \fBExample.\ \&Extension is jpg. Type is "JPEG". Creator is "ogle".\fR
699 .sp
700 .if n \{\
701 .RS 4
702 .\}
703 .nf
704 \&.jpg "JPEG" "ogle"
705 .fi
706 .if n \{\
707 .RE
708 .\}
709 .PP
710 \fBExample.\ \&Extension is lzh. Type is "LHA ". Creator is not defined.\fR
711 .sp
712 .if n \{\
713 .RS 4
714 .\}
715 .nf
716 \&.lzh "LHA "
717 .fi
718 .if n \{\
719 .RE
720 .\}
721 .SH "SEE ALSO"
722 .PP
723 \fBafpd.conf\fR(5),
724 \fBafpd\fR(8),
725 \fBafp_ldap.conf\fR(5)