| 1 |
.\"@(#)mount.nfs.8" |
| 2 |
.TH MOUNT.NFS 8 "5 Jun 2006" |
| 3 |
.SH NAME |
| 4 |
mount.nfs, mount.nfs4 \- mount a Network File System |
| 5 |
.SH SYNOPSIS |
| 6 |
.BI "mount.nfs" " remotetarget dir" " [\-rvVwfnsh ] [\-o " options "] |
| 7 |
.SH DESCRIPTION |
| 8 |
.BR mount.nfs |
| 9 |
is a part of |
| 10 |
.BR nfs (5) |
| 11 |
utilities package, which provides NFS client functionality. |
| 12 |
|
| 13 |
.BR mount.nfs |
| 14 |
is meant to be used by the |
| 15 |
.BR mount (8) |
| 16 |
command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality. |
| 17 |
|
| 18 |
.I remotetarget |
| 19 |
is a server share usually in the form of |
| 20 |
.BR servername:/path/to/share. |
| 21 |
.I dir |
| 22 |
is the directory on which the file system is to be mounted. |
| 23 |
|
| 24 |
Under Linux 2.6.32 and later kernel versions, |
| 25 |
.BR mount.nfs |
| 26 |
can mount all NFS file system versions. Under earlier Linux kernel versions, |
| 27 |
.BR mount.nfs4 |
| 28 |
must be used for mounting NFSv4 file systems while |
| 29 |
.BR mount.nfs |
| 30 |
must be used for NFSv3. |
| 31 |
|
| 32 |
.SH OPTIONS |
| 33 |
.TP |
| 34 |
.BI "\-r" |
| 35 |
Mount file system readonly. |
| 36 |
.TP |
| 37 |
.BI "\-v" |
| 38 |
Be verbose. |
| 39 |
.TP |
| 40 |
.BI "\-V" |
| 41 |
Print version. |
| 42 |
.TP |
| 43 |
.BI "\-w" |
| 44 |
Mount file system read-write. |
| 45 |
.TP |
| 46 |
.BI "\-f" |
| 47 |
Fake mount. Don't actually call the mount system call. |
| 48 |
.TP |
| 49 |
.BI "\-n" |
| 50 |
Do not update |
| 51 |
.I /etc/mtab. |
| 52 |
By default, an entry is created in |
| 53 |
.I /etc/mtab |
| 54 |
for every mounted file system. Use this option to skip making an entry. |
| 55 |
.TP |
| 56 |
.BI "\-s" |
| 57 |
Tolerate sloppy mount options rather than fail. |
| 58 |
.TP |
| 59 |
.BI "\-h" |
| 60 |
Print help message. |
| 61 |
.TP |
| 62 |
.BI "nfsoptions" |
| 63 |
Refer to |
| 64 |
.BR nfs (5) |
| 65 |
or |
| 66 |
.BR mount (8) |
| 67 |
manual pages. |
| 68 |
|
| 69 |
.SH NOTE |
| 70 |
For further information please refer |
| 71 |
.BR nfs (5) |
| 72 |
and |
| 73 |
.BR mount (8) |
| 74 |
manual pages. |
| 75 |
|
| 76 |
.SH FILES |
| 77 |
.TP 18n |
| 78 |
.I /etc/fstab |
| 79 |
file system table |
| 80 |
.TP |
| 81 |
.I /etc/mtab |
| 82 |
table of mounted file systems |
| 83 |
.TP |
| 84 |
.I /etc/nfsmount.conf |
| 85 |
Configuration file for NFS mounts |
| 86 |
.PD |
| 87 |
.SH "SEE ALSO" |
| 88 |
.BR nfs (5), |
| 89 |
.BR nfsmount.conf (5), |
| 90 |
.BR mount (8), |
| 91 |
|
| 92 |
.SH "AUTHOR" |
| 93 |
Amit Gud <[email protected]> |