Connected: An Internet Encyclopedia
RFC 1813 - 5.2 Server Procedures

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1813
Up: 5. Appendix I: Mount protocol
Prev: 5.1.5 Basic Data Types
Next: 5.2.0 Procedure 0: Null - Do nothing

### 5.2 Server Procedures

The following sections define the RPC procedures supplied by a MOUNT version 3 protocol server. The RPC procedure number is given at the top of the page with the name and version. The SYNOPSIS provides the name of the procedure, the list of the names of the arguments, the list of the names of the results, followed by the XDR argument declarations and results declarations. The information in the SYNOPSIS is specified in RPC Data Description Language as defined in [RFC1014]. The DESCRIPTION section tells what the procedure is expected to do and how its arguments and results are used. The ERRORS section lists the errors returned for specific types of failures. The IMPLEMENTATION field describes how the procedure is expected to work and how it should be used by clients.

          program MOUNT_PROGRAM {
             version MOUNT_V3 {
                void      MOUNTPROC3_NULL(void)    = 0;
                mountres3 MOUNTPROC3_MNT(dirpath)  = 1;
                mountlist MOUNTPROC3_DUMP(void)    = 2;
                void      MOUNTPROC3_UMNT(dirpath) = 3;
                void      MOUNTPROC3_UMNTALL(void) = 4;
                exports   MOUNTPROC3_EXPORT(void)  = 5;
             } = 3;
          } = 100005;

5.2.0 Procedure 0: Null - Do nothing
5.2.1 Procedure 1: MNT - Add mount entry
5.2.2 Procedure 2: DUMP - Return mount entries
5.2.3 Procedure 3: UMNT - Remove mount entry
5.2.4 Procedure 4: UMNTALL - Remove all mount entries
5.2.5 Procedure 5: EXPORT - Return export list

Next: 5.2.0 Procedure 0: Null - Do nothing

Connected: An Internet Encyclopedia
RFC 1813 - 5.2 Server Procedures