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