linux-conf-fix-type-which-crept-in-20020124
[openafs.git] / src / afsd / afs.conf.linux
1 #! /bin/sh
2 # Copyright 2000, International Business Machines Corporation and others.
3 # All Rights Reserved.
4
5 # This software has been released under the terms of the IBM Public
6 # License.  For details, see the LICENSE file in the top-level source
7 # directory or online at http://www.openafs.org/dl/license10.html
8
9 # Configuration information for AFS client
10
11 # AFS_CLIENT and AFS_SERVER determine if we should start the client and or
12 # the bosserver. Possible values are on and off.
13 AFS_CLIENT=on
14 AFS_SERVER=off
15
16 # ENABLE_AFSDB and ENABLE_DYNROOT determine whether AFSDB support and
17 # Dynroot support (dynamically generated /afs), respectively, should be
18 # enabled in the AFS client.
19 ENABLE_AFSDB=on
20 ENABLE_DYNROOT=off
21
22 # AFS client configuration options:
23 XXLARGE="-stat 4000 -dcache 4000 -daemons 6 -volumes 256 -files 50000"
24 XLARGE="-stat 3600 -dcache 3600 -daemons 5 -volumes 196 -files 50000"
25 LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
26 MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
27 SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"
28
29 # cachesize and according options are set by /afs/rc.d/init.d/afs
30 #   * if you set CACHESIZE to "AUTOMATIC", it will automatically be chosen
31 #     deduced by parition sizes (does not work if your cache is on / or /usr)
32 #   * if you set OPTIONS to "AUTOMATIC", the init script will choose a set
33 #     of options based on the cache size
34 # otherwise the values specified here will be used. So be careful!
35 # Note: if you leave these as-is, no changes are made.
36 CACHESIZE=
37 OPTIONS=$MEDIUM
38
39 # you should never need to change these settings
40 AFSDIR=/afs
41 CACHEDIR=/usr/vice/cache
42 CACHEINFO=/usr/vice/etc/cacheinfo
43
44 # Set to "-verbose" for a lot of debugging information from afsd. Only
45 # useful for debugging as it prints _a lot_ of information.
46 VERBOSE=
47
48 # Sample server preferences function. Set server preferences using this.
49 # afs_serverprefs() {
50 #    /usr/afsws/etc/fs setserverprefs <host> <rank>
51 #}
52
53 # Either the name of an executable script or a set of commands go here.
54 # AFS_POST_INIT=afs_serverprefs
55 AFS_POST_INIT=