]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/mount/mount.nfs.man
Use 65534 for anon uid/gid rather than -2
[nfs-utils.git] / utils / mount / mount.nfs.man
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" " [\-rvVwfnh ] [\-t " version "] [\-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 .BR mount.nfs4 
19 is used for mounting NFSv4 file system, while 
20 .BR mount.nfs 
21 is used to mount NFS file systems versions 3 or 2.
22 .I remotetarget 
23 is a server share usually in the form of 
24 .BR servername:/path/to/share.
25 .I dir 
26 is the directory on which the file system is to be mounted.
27
28 .SH OPTIONS
29 .TP
30 .BI "\-r"
31 Mount file system readonly.
32 .TP
33 .BI "\-v"
34 Be verbose.
35 .TP
36 .BI "\-V"
37 Print version.
38 .TP
39 .BI "\-w"
40 Mount file system read-write.
41 .TP
42 .BI "\-f"
43 Fake mount. Don't actually call the mount system call.
44 .TP
45 .BI "\-n"
46 Do not update 
47 .I /etc/mtab. 
48 By default, an entry is created in 
49 .I /etc/mtab 
50 for every mounted file system. Use this option to skip making an entry.
51 .TP
52 .BI "\-h"
53 Print help message.
54 .TP
55 .BI "version"
56 Specify NFS file system version. Either
57 .BR nfs4 
58 or 
59 .BR nfs.
60 If the command is 
61 .BR mount.nfs4 
62 or the 
63 .I vfstype 
64 option of 
65 .BR mount(8) 
66 command is nfs4, then version 4 is used, else version 3 or 2 is used.
67 .TP
68 .BI "nfsoptions"
69 Refer to 
70 .BR nfs(5)
71 or
72 .BR mount(8) 
73 manual pages.
74
75 .SH NOTE
76 For further information please refer 
77 .BR nfs (5)
78 and
79 .BR mount (8)
80 manual pages.
81
82 .SH FILES
83 .TP 18n
84 .I /etc/fstab
85 file system table
86 .TP
87 .I /etc/mtab
88 table of mounted file systems
89
90 .PD
91 .SH "SEE ALSO"
92 .BR nfs (5),
93 .BR mount (8),
94
95 .SH BUGS
96 Please notify current developers of NFS of any bugs in the current software or mail nfs@lists.sourceforge.net
97
98 .SH "AUTHOR"
99 Amit Gud <agud@redhat.com>
100