1NFSMOUNT.CONF(5)              File Formats Manual             NFSMOUNT.CONF(5)
2
3
4

NAME

6       nfsmount.conf - Configuration file for NFS mounts
7

SYNOPSIS

9       Configuration  file  for NFS mounts that allows options to be set glob‐
10       ally, per server or per mount point.
11

DESCRIPTION

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.  The variables that can be assigned  are  exactly  the
18       set of NFS specific mount options listed in nfs(5).
19
20       Sections  are  broken  up  into three basic categories: Global options,
21       Server options and Mount Point options.
22
23       [ NFSMount_Global_Options ] - This statically named section defines all
24              of  the  global  mount  options that can be applied to every NFS
25              mount.
26
27       [ Server “Server_Name” ] - This section defines all the  mount  options
28              that  should  be  used on mounts to a particular NFS server. The
29              “Server_Name” strings needs to be surrounded by '“'  and  be  an
30              exact match of the server name used in the mount command.
31
32       [  MountPoint  “Mount_Point”  ]  -  This  section defines all the mount
33              options that should be used on a particular  mount  point.   The
34              “Mount_Point”  string  needs  to  be surrounded by '“' and be an
35              exact match of the mount point used in the mount command.
36

EXAMPLES

38       These are some example lines of how sections and variables are  defined
39       in the configuration file.
40
41       [ NFSMount_Global_Options ]
42           Proto=Tcp
43
44              The TCP/IPv4 protocol will be used on every NFS mount.
45
46
47       [ Server “nfsserver.foo.com” ]
48           rsize=32k
49           wsize=32k
50           proto=udp6
51
52
53              A  32k  (32768  bytes)  block  size will be used as the read and
54              write size on all  mounts  to  the  'nfsserver.foo.com'  server.
55              UDP/IPv6 is the protocol to be used.
56
57
58        [ MountPoint “/export/home” ]
59           Background=True
60
61              All mounts to the '/export/home' export will be performed in the
62                     background (i.e. done asynchronously).
63
64
65

FILES

67       /etc/nfsmount.conf
68                 Default NFS mount configuration file
69

SEE ALSO

71       nfs(5), mount(8),
72
73
74
75                                9 October 2012                NFSMOUNT.CONF(5)
Impressum