Network File System (NFS) Version 4 Minor Version 1 External Data Representation Standard (XDR) Description
RFC 5662
Internet Engineering Task Force (IETF) S. Shepler, Ed.
Request for Comments: 5662 Storspeed, Inc.
Category: Standards Track M. Eisler, Ed.
ISSN: 2070-1721 D. Noveck, Ed.
NetApp
January 2010
Network File System (NFS) Version 4 Minor Version 1
External Data Representation Standard (XDR) Description
Abstract
This document provides the External Data Representation Standard
(XDR) description for Network File System version 4 (NFSv4) minor
version 1.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc5662.
Copyright Notice
Copyright (c) 2010 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Shepler, et al. Standards Track [Page 1]
RFC 5662 NFSv4.1 XDR Description January 2010
Table of Contents
1. Introduction ....................................................2
1.1. Requirements Language ......................................2
1.2. Code Components Licensing Notice ...........................2
2. XDR Description of NFSv4.1 ......................................2
3. Security Considerations ........................................72
4. IANA Considerations ............................................72
5. Normative References ...........................................72
Appendix A. Acknowledgments .......................................73
1. Introduction
This document provides the External Data Representation Standard
(XDR) description for Network File System version 4 (NFSv4) minor
version 1.
1.1. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC 2119 [1].
1.2. Code Components Licensing Notice
The XDR description and scripts for extracting the XDR description
are Code Components as described in Section 4 of "Legal Provisions
Relating to IETF Documents" [2].
2. XDR Description of NFSv4.1
This document contains the XDR ([3]) description of NFSv4.1 protocol
([4]). In order to facilitate implementations that support both
NFSv4.0 and NFSv4.1, the description includes operations and other
features of NFSv4.0 that do not apply to NFSv4.1.
The XDR description is provided in this document in a way that makes
it simple for the reader to extract into ready-to-compile form. The
reader can feed this document in the following shell script to
produce the machine readable XDR description of NFSv4.1:
Shepler, et al. Standards Track [Page 2]
RFC 5662 NFSv4.1 XDR Description January 2010
<CODE BEGINS>
#!/bin/sh
grep '^ *///' | sed 's?^ */// ??' | sed 's?^ *///$??'
<CODE ENDS>
That is, if the above script is stored in a file called "extract.sh",
and this document is in a file called "spec.txt", then the reader can
do:
<CODE BEGINS>
sh extract.sh < spec.txt > nfs4_prot.x
<CODE ENDS>
Shepler, et al. Standards Track [Page 3]
RFC 5662 NFSv4.1 XDR Description January 2010
The effect of the script is to remove leading white space from each
line, plus a sentinel sequence of "///".
The XDR description, with the sentinel sequence follows:
<CODE BEGINS>
/// /*
/// * Copyright (c) 2010 IETF Trust and the persons identified
/// * as the document authors. All rights reserved.
/// *
/// * The document authors are identified in RFC 3530 and
Show full document text