]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/mount/mount.nfs.man
mount.nfs: Add more debugging output around nfs_getport()
[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" " [\-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 .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 "\-s"
53 Tolerate sloppy mount options rather than fail.
54 .TP
55 .BI "\-h"
56 Print help message.
57 .TP
58 .BI "nfsoptions"
59 Refer to 
60 .BR nfs (5)
61 or
62 .BR mount (8) 
63 manual pages.
64
65 .SH NOTE
66 For further information please refer 
67 .BR nfs (5)
68 and
69 .BR mount (8)
70 manual pages.
71
72 .SH FILES
73 .TP 18n
74 .I /etc/fstab
75 file system table
76 .TP
77 .I /etc/mtab
78 table of mounted file systems
79
80 .PD
81 .SH "SEE ALSO"
82 .BR nfs (5),
83 .BR mount (8),
84
85 .SH "AUTHOR"
86 Amit Gud <agud@redhat.com>