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