1NFSMOUNT.CONF(5) File Formats Manual NFSMOUNT.CONF(5)
2
3
4
6 nfsmount.conf - Configuration file for NFS mounts
7
9 Configuration file for NFS mounts that allows options to be set glob‐
10 ally, per server or per mount point.
11
13 The configuration file is made up of multiple sections followed by
14 variables associated with that section. A section is defined by a
15 string enclosed by [ and ] branches. Variables are assignment state‐
16 ments that assign values to particular variables using the = operator,
17 as in Proto=Tcp. Sections are broken up into three basic categories:
18 Global options, Server options and Mount Point options.
19
20 [ NFSMount_Global_Options ] - This statically named section defines all
21 of the global mount options that can be applied to every NFS
22 mount.
23
24 [ Server “Server_Name” ] - This section defines all the mount options
25 that should be used on mounts to a particular NFS server. The
26 “Server_Name” strings needs to be surrounded by '“' and be an
27 exact match of the server name used in the mount command.
28
29 [ MountPoint “Mount_Point” ] - This section defines all the mount
30 options that should be used on a particular mount point. The
31 “Mount_Point” string needs to be surrounded by '“' and be an
32 exact match of the mount point used in the mount command.
33
35 These are some example lines of how sections and variables are defined
36 in the configuration file.
37
38 [ NFSMount_Global_Options ]
39 Proto=Tcp
40
41 The TCP protocol will be used on every NFS mount.
42
43
44 [ Server “nfsserver.foo.com” ]
45 rsize=32k
46 wsize=32k
47
48
49 A 33k (32768 bytes) block size will be used as the read and
50 write size on all mounts to the 'nfsserver.foo.com' server.
51
52
53 [ MountPoint “/export/home” ]
54 Background=True
55
56 All mounts to the '/export/home' export will be performed in the
57 background (i.e. done asynchronously).
58
59
60
62 /etc/nfsmount.conf
63 Default NFS mount configuration file
64
66 nfs(5), mount(8),
67
68
69
70 9 Mar 2008 NFSMOUNT.CONF(5)