summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man8/mount.nfs.8
blob: a78a3b0dfe061fcfbae78b8c21c9c487327a4f31 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.\"@(#)mount.nfs.8"
.TH MOUNT.NFS 8 "5 Jun 2006"
.SH NAME
mount.nfs, mount.nfs4 \- mount a Network File System
.SH SYNOPSIS
.BI "mount.nfs" " remotetarget dir" " [\-rvVwfnsh ] [\-o " options "]
.SH DESCRIPTION
.BR mount.nfs
is a part of 
.BR nfs (5)
utilities package, which provides NFS client functionality.

.BR mount.nfs 
is meant to be used by the
.BR mount (8)
command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality.

.I remotetarget 
is a server share usually in the form of 
.BR servername:/path/to/share.
.I dir 
is the directory on which the file system is to be mounted.

Under Linux 2.6.32 and later kernel versions,
.BR mount.nfs
can mount all NFS file system versions.  Under earlier Linux kernel versions,
.BR mount.nfs4
must be used for mounting NFSv4 file systems while
.BR mount.nfs
must be used for NFSv3.

.SH OPTIONS
.TP
.BI "\-r"
Mount file system readonly.
.TP
.BI "\-v"
Be verbose.
.TP
.BI "\-V"
Print version.
.TP
.BI "\-w"
Mount file system read-write.
.TP
.BI "\-f"
Fake mount. Don't actually call the mount system call.
.TP
.BI "\-n"
Do not update 
.I /etc/mtab. 
By default, an entry is created in 
.I /etc/mtab 
for every mounted file system. Use this option to skip making an entry.
.TP
.BI "\-s"
Tolerate sloppy mount options rather than fail.
.TP
.BI "\-h"
Print help message.
.TP
.BI "nfsoptions"
Refer to 
.BR nfs (5)
or
.BR mount (8) 
manual pages.

.SH NOTE
For further information please refer 
.BR nfs (5)
and
.BR mount (8)
manual pages.

.SH FILES
.TP 18n
.I /etc/fstab
file system table
.TP
.I /etc/mtab
table of mounted file systems
.TP
.I /etc/nfsmount.conf
Configuration file for NFS mounts
.PD
.SH "SEE ALSO"
.BR nfs (5),
.BR nfsmount.conf (5),
.BR mount (8),

.SH "AUTHOR"
Amit Gud <agud@redhat.com>