Provided by: nfs-common_1.2.5-3ubuntu3_i386
nfsmount.conf - Configuration file for NFS mounts
Configuration file for NFS mounts that allows options to be set
globally, per server or per mount point.
The configuration file is made up of multiple sections followed by
variables associated with that section. A section is defined by a
string enclosed by [ and ] branches. Variables are assignment
statements that assign values to particular variables using the =
operator, as in Proto=Tcp. Sections are broken up into three basic
categories: Global options, Server options and Mount Point options.
[ NFSMount_Global_Options ] - This statically named section defines all
of the global mount options that can be applied to every NFS
[ Server â€â€śServer_Nameâ€â€ť ] - This section defines all the mount options
that should be used on mounts to a particular NFS server. The
â€śServer_Nameâ€ť strings needs to be surrounded by 'â€ś' and be an
exact match of the server name used in the mount command.
[ MountPoint â€â€śMount_Pointâ€â€ť ] - This section defines all the mount
options that should be used on a particular mount point. The
â€śMount_Pointâ€ť string needs to be surrounded by 'â€ś' and be an
exact match of the mount point used in the mount command.
These are some example lines of how sections and variables are defined
in the configuration file.
[ NFSMount_Global_Options ]
The TCP protocol will be used on every NFS mount.
[ Server â€śnfsserver.foo.comâ€ť ]
A 33k (32768 bytes) block size will be used as the read and
write size on all mounts to the 'nfsserver.foo.com' server.
[ MountPoint â€ś/export/homeâ€ť ]
All mounts to the '/export/home' export will be performed in the
background (i.e. done asynchronously).
Default NFS mount configuration file
9 Mar 2008 NFSMOUNT.CONF(5)