Added initial unfs3 sources for version 0.9.22+dfsg-1maemo2
[unfs3] / unfs3 / debian / unfs3.default
1 # Defaults for unfs3 (user-space NFSv3 server)
2
3 # Unprivileged port
4 # Use an unprivileged port for NFS and MOUNT service. Normally, unfsd will use
5 # port number 2049, which is the standard port for NFS. When this option is in
6 # effect, arbitrary ports chosen by the RPC library will be used. You may need
7 # to use this option when running unfsd from a normal user account.
8 PORT_UNPRIVILEGED="-u"
9
10 # Specified port
11 # Use the specified port for the NFS service.
12 PORT_NFS="2049"
13
14 # Specified port (MOUNT service)
15 # Use the specified port for the MOUNT service. The default is to use port
16 # number 2049, the same as for the NFS service. You can use the same port for
17 # both services if you want.
18 PORT_MOUNT="2049"
19
20 # TCP only operation
21 # By default, unfsd provides its services to clients using either UDP or TCP as
22 # communications protocol. When this option is present, only TCP connections are
23 # serviced.
24 #TCP_ONLY="-t"
25
26 # Register with the portmapper
27 # Do not register with the portmapper. This will prevent other hosts from
28 # finding out the port numbers used for the MOUNT and NFS services by querying
29 # the portmap daemon. Clients will need to manually specify the port numbers to
30 # use (on Linux clients, use the mountport and port mount options).
31 #NO_PORTMAPPER="-p"
32
33 # Expiring write cache
34 # Allow the built-in file descriptor cache to expire writers. For performance
35 # reasons, unfsd keeps file descriptors open across multiple READ or WRITE
36 # requests. Normally, only READ file descriptors will be expired from the cache
37 # when it fills up. Setting this option allows file descriptors from WRITE
38 # operations to be expired, too. When this  happens, pending data will be
39 # written to the server filesystem. However, if an error occurs while doing
40 # this, there is no way to notify the NFS client of the error. A message
41 # indicating the problem will be sent to the system log on the server.
42 #NO_WRITE_CACHE="-w"
43
44 # Cluster extensions
45 # Enable cluster extensions. When this option is enabled, so-called tagged
46 # files are handled differently from normal files, making it possible to
47 # serve different file  contents to different clients for the same filename.
48 # See tags(7) for a description of tagged files. This option causes a
49 # performance hit.
50 #CLUSTER_EXTENSION="-c"
51
52 # Cluster path
53 # Limit the use of cluster extensions to a list of colon-seperated directories.
54 # When this option is present, the performance hit caused by clustering
55 # extensions only applies to the listed directories and their subdirectories.
56 #CLUSTER_PATH="-C /"
57
58 # Single user mode
59 # Activate basic uid translation. This option is useful when the server and
60 # client are using different user and group ids. All requests from the client
61 # will be served from the user id that started unfsd, no user id switching will
62 # take  place (even if unfsd was started by root). Ownership is reported as
63 # follows: files belonging to the user id running unfsd will look as if they
64 # are owned by the client's user. Other files will look as if they are owned by
65 # root. The same principle applies to group ownership.
66 #SINGLE_USER="-s"
67
68 # Brute force file searching
69 # Normally, when you rename a file across several directories on an NFS volume,
70 # the filehandle for that file becomes stale. When this option is enabled, unfsd
71 # will attempt a recursive search on the relevant server filesystem to find the
72 # file referenced by the filehandle. This can have a huge performance impact as
73 # this will also happen for files that were really deleted (by another NFS
74 # client) instead of moved, and cannot be found.
75 #BRUTE_FORCE="-b"
76
77 # Bind to interface with specified address
78 # The default is to bind to all local interfaces.
79 #INTERFACE="-l 127.0.0.1"
80
81 # Debug mode
82 # When this option is present, unfsd will not fork into the background at
83 # startup, and all messages that would normally go to the system log go to
84 # stdout instead.
85 #DEBUG="-d"
86
87 # Additional options that are passed to the Daemon.
88 DAEMON_OPTS="$PORT_UNPRIVILEGED -n $PORT_NFS -m $PORT_MOUNT $TCP_ONLY $NO_PORTMAPPER $NO_WRITE_CACHE $CLUSTER_EXTENSION $CLUSTER_PATH $SINGLE_USER $BRUTE_FORCE $INTERFACE $DEBUG"