|
NFS File System Model and the Mount Protocol
(Page 3 of 3)
Mount Protocol Server Procedures
The actual implementation of the
Mount protocol is very similar to that of NFS itself. Like NFS, the
Mount protocol uses XDR
to define data types to be exchanged between client and server, and
RPC
to define a set of server
procedures that clients may use to perform
different operations. The main difference between Mount and NFS is simply
that Mount defines procedures related to opening and closing filesystems
rather than file access operations. Table 185
shows the server procedures used in the Mount protocol.
Table 185: NFS Mount Protocol Server Procedures
Procedure
#
|
Procedure
Name
|
Procedure
Summary
|
Description
|
0
|
null
|
Do Nothing
|
Dummy procedure provided for
testing purposes.
|
1
|
mnt
|
Add
Mount Entry
|
Performs a
mount operation by mapping a path on a server to a file handle for the
client to use.
|
2
|
dump
|
Return Mount
Entries
|
Returns a list of remotely mounted
file systems.
|
3
|
umnt
|
Remove
Mount Entry
|
Performs an
unmount by removing a mount entry. (It should be dismount.
Techies are rarely into grammar. J)
|
4
|
umntall
|
Remove All Mount
Entries
|
Removes all mount entries, thus
eliminating all mounted file systems between server and client.
|
5
|
export
|
Return
Export List
|
Returns a list
of exported file systems and indicates which clients are allowed to
mount them. This is used to let the client see what served file systems
are available for use.
|
As mentioned in other topics
in this section, NFS version 4 does away with the notion of a separate
Mount protocol, incorporating file mounting operations into NFS directly.

| If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support! |
|
|
Home -
Table Of Contents - Contact Us
The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005
© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.
|