173 lines
3.6 KiB
HTML
173 lines
3.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of MOUNT.NFS</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>MOUNT.NFS</H1>
|
|
Section: Maintenance Commands (8)<BR>Updated: 5 Jun 2006<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
mount.nfs, mount.nfs4 - mount a Network File System
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>mount.nfs</B><I> remotetarget dir</I><B> [-rvVwfnsh ] [-o </B><I>options</I><B>]</B>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>mount.nfs</B>
|
|
|
|
is a part of
|
|
<B><A HREF="/cgi-bin/man/man2html?5+nfs">nfs</A></B>(5)
|
|
|
|
utilities package, which provides NFS client functionality.
|
|
<P>
|
|
<B>mount.nfs</B>
|
|
|
|
is meant to be used by the
|
|
<B><A HREF="/cgi-bin/man/man2html?8+mount">mount</A></B>(8)
|
|
|
|
command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality.
|
|
<P>
|
|
<I>remotetarget </I>
|
|
|
|
is a server share usually in the form of
|
|
<B>servername:/path/to/share.</B>
|
|
|
|
<I>dir </I>
|
|
|
|
is the directory on which the file system is to be mounted.
|
|
<P>
|
|
Under Linux 2.6.32 and later kernel versions,
|
|
<B>mount.nfs</B>
|
|
|
|
can mount all NFS file system versions. Under earlier Linux kernel versions,
|
|
<B>mount.nfs4</B>
|
|
|
|
must be used for mounting NFSv4 file systems while
|
|
<B>mount.nfs</B>
|
|
|
|
must be used for NFSv3 and v2.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-r</B>
|
|
|
|
<DD>
|
|
Mount file system readonly.
|
|
<DT id="2"><B>-v</B>
|
|
|
|
<DD>
|
|
Be verbose.
|
|
<DT id="3"><B>-V</B>
|
|
|
|
<DD>
|
|
Print version.
|
|
<DT id="4"><B>-w</B>
|
|
|
|
<DD>
|
|
Mount file system read-write.
|
|
<DT id="5"><B>-f</B>
|
|
|
|
<DD>
|
|
Fake mount. Don't actually call the mount system call.
|
|
<DT id="6"><B>-n</B>
|
|
|
|
<DD>
|
|
Do not update
|
|
<I>/etc/mtab. </I>
|
|
|
|
By default, an entry is created in
|
|
<I>/etc/mtab </I>
|
|
|
|
for every mounted file system. Use this option to skip making an entry.
|
|
<DT id="7"><B>-s</B>
|
|
|
|
<DD>
|
|
Tolerate sloppy mount options rather than fail.
|
|
<DT id="8"><B>-h</B>
|
|
|
|
<DD>
|
|
Print help message.
|
|
<DT id="9"><B>nfsoptions</B>
|
|
|
|
<DD>
|
|
Refer to
|
|
<B><A HREF="/cgi-bin/man/man2html?5+nfs">nfs</A></B>(5)
|
|
|
|
or
|
|
<B><A HREF="/cgi-bin/man/man2html?8+mount">mount</A></B>(8)
|
|
|
|
manual pages.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>NOTE</H2>
|
|
|
|
For further information please refer
|
|
<B><A HREF="/cgi-bin/man/man2html?5+nfs">nfs</A></B>(5)
|
|
|
|
and
|
|
<B><A HREF="/cgi-bin/man/man2html?8+mount">mount</A></B>(8)
|
|
|
|
manual pages.
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="10"><I>/etc/fstab</I>
|
|
|
|
<DD>
|
|
file system table
|
|
<DT id="11"><I>/etc/mtab</I>
|
|
|
|
<DD>
|
|
table of mounted file systems
|
|
<DT id="12"><I>/etc/nfsmount.conf</I>
|
|
|
|
<DD>
|
|
Configuration file for NFS mounts
|
|
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+nfs">nfs</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+nfsmount.conf">nfsmount.conf</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+mount">mount</A></B>(8),
|
|
|
|
<P>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Amit Gud <<A HREF="mailto:agud@redhat.com">agud@redhat.com</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="13"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="14"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="15"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="16"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="17"><A HREF="#lbAF">NOTE</A><DD>
|
|
<DT id="18"><A HREF="#lbAG">FILES</A><DD>
|
|
<DT id="19"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="20"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:14 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|