Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / packaging / MacOS / afs.conf
1 # -*- sh -*-
2 # WARNING: this file is ignored if /var/db/openafs/etc/config/afsd.options
3 # exists.
4 #
5 # Copyright 2000, International Business Machines Corporation and others.
6 # All Rights Reserved.
7 #
8 # This software has been released under the terms of the IBM Public
9 # License. For details, see the LICENSE file in the top-level source
10 # directory or online at http://www.openafs.org/dl/license10.html
11
12 # Configuration information for AFS client.
13
14 # Set to "-verbose" for a lot of debugging information from afsd. Only useful
15 # for debugging as it prints a LOT of information.
16 VERBOSE=
17
18 # AFS client configuration options.
19 #
20 # Here is a (mostly) complete list of flags that afsd accepts and that are
21 # useful here:
22 #
23 # -blocks The number of blocks available in the workstation cache.
24 # -files The target number of files in the workstation cache (Default:
25 # 1000).
26 # -rootvol The name of the root volume to use.
27 # -stat The number of stat cache entries.
28 # -hosts List of servers to check for volume location info FOR THE
29 # HOME CELL.
30 # -memcache Use an in-memory cache rather than disk.
31 # -cachedir The base directory for the workstation cache.
32 # -mountdir The directory on which the AFS is to be mounted.
33 # -confdir The configuration directory.
34 # -nosettime Don't keep checking the time to avoid drift (default).
35 # -settime Keep checking the time to avoid drift.
36 # -verbose Be chatty.
37 # -debug Print out additional debugging info.
38 # -daemons The number of background daemons to start (Default: 2).
39 # -rmtsys Also fires up an afs remote sys call (e.g. pioctl, setpag)
40 # support daemon
41 # -chunksize 2^n is the chunksize to be used (Default: use a kernel
42 # module default).
43 # -dcache The number of data cache entries.
44 # -prealloc Number of preallocated "small" memory blocks
45 # -waitclose Make close calls always synchronous (slows them down, though)
46 # -files_per_subdir Number of files per cache subdir (Default: 2048).
47 #
48 # Using the memory cache is not recommended. It's less stable than the disk
49 # cache and doesn't improve performance as much as it might sound.
50 #
51 # The default behavior is to let afsd automatically choose an apporpriate set
52 # of flags. This should produce reasonable behavior for most working sets
53 # provided that one is using a modern AFS client (1.4.2 or later).
54 #
55 # You can override that default behavior by setting OPTIONS to a specific set
56 # of flags.
57 OPTIONS="-chunksize 18 -afsdb -stat 5000 -dcache 800 -daemons 8 -volumes 70 -dynroot -fakestat-all"
58
59 # The default value for the client sysname (as returned by fs sysname) is
60 # determined during the kernel module build and is taken from the architecture
61 # and the major Linux kernel version. Accesses to directories named "@sys" in
62 # AFS will be internally redirected to a directory by this name by the AFS
63 # client, allowing a single path to resolve to different directories depending
64 # on the client architecture.
65 #
66 # If you would like to override the client sysname, uncomment this line and
67 # set the variable to a space-separated list of sysnames. The AFS client will
68 # attempt to resolve @sys to each directory name in the order given.
69 AFS_SYSNAME=""
70
71 # If you want to prefer particular servers for replicated volumes, you can
72 # configure that by defining an afs_server_prefs function here and then
73 # uncommenting the setting of AFS_POST_INIT below. For more information, see
74 # fs help setserverprefs and fs getserverprefs (for the current values).
75
76 #afs_server_prefs() {
77 # fs setserverprefs <host> <rank>
78 #}
79
80 #afs_mariner() {
81 # fs mariner localhost
82 #}
83
84 # Amount to read ahead, or comment out to disable
85 AFS_PRECACHE=5000
86
87 # If you want to always run some command after starting OpenAFS, you can put
88 # it here. Note that you cannot run multiple commands, even combined with &&
89 # or ; or similar shell meta-characters. If you want to run multiple
90 # commands, define a shell function instead and put the name of the shell
91 # function here.
92 AFS_POST_INIT=
93
94 # Uncomment this line if you defined an afs_server_prefs function. (If you
95 # have other commands that you also want to run, you'll have to put them in
96 # that function, as you can only run one function.)
97 #AFS_POST_INIT=afs_server_prefs
98
99 # Another example. Set this to use the growl agent.
100 # If you do this, you'll also need to run the growl agent, perhaps as a
101 # LoginItem
102 #AFS_POST_INIT=afs_mariner
103
104 # If you want to always run some command before shutting down OpenAFS, you can
105 # put it here. The same caveat applies about multiple commands.
106 AFS_PRE_SHUTDOWN=