Dr Andrew Scott G7VAV

My photo
 
April 2024
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


NFSMOUNT.CONF

Section: File Formats (5)
Updated: 9 Mar 2008
Index Return to Main Contents
 

NAME

nfsmount.conf - Configuration file for NFS mounts  

SYNOPSIS

Configuration file for NFS mounts that allows options to be set globally, per server or per mount point.  

DESCRIPTION

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 mount.
[ 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.
 

EXAMPLES

These are some example lines of how sections and variables are defined in the configuration file.

[ NFSMount_Global_Options ]

    Proto=Tcp

The TCP protocol will be used on every NFS mount.
[ Server "nfsserver.foo.com" ]

    rsize=32k

    wsize=32k
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" ]

    Background=True
All mounts to the '/export/home' export will be performed in the background (i.e. done asynchronously).
 

FILES

/etc/nfsmount.conf
Default NFS mount configuration file
 

SEE ALSO

nfs(5), mount(8),


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
SEE ALSO


for client 3.139.82.23
© Andrew Scott 2006 - 2024,
All Rights Reserved
Andrew Scott