Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[proto] Remove unsupported NFS protocol
The NFS protocol code came from legacy Etherboot and was never updated
to work as a gPXE protocol.  There has been no demand for this protocol,
so this patch removes it.

I have an unfinished NFSv3 over TCP implementation for gPXE that can be
used as the base for new work, should we want to resurrect this
protocol.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
  • Loading branch information
stefanha authored and Marty Connor committed Feb 1, 2010
1 parent e501e6e commit 1548189
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 685 deletions.
3 changes: 0 additions & 3 deletions src/config/config.c
Expand Up @@ -109,9 +109,6 @@ REQUIRE_OBJECT ( pxe_call );
#ifdef DOWNLOAD_PROTO_TFTP
REQUIRE_OBJECT ( tftp );
#endif
#ifdef DOWNLOAD_PROTO_NFS
REQUIRE_OBJECT ( nfs );
#endif
#ifdef DOWNLOAD_PROTO_HTTP
REQUIRE_OBJECT ( http );
#endif
Expand Down
1 change: 0 additions & 1 deletion src/config/general.h
Expand Up @@ -54,7 +54,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/

#define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
#undef DOWNLOAD_PROTO_NFS /* Network File System */
#define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
#undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
#undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
Expand Down
1 change: 0 additions & 1 deletion src/core/main.c
Expand Up @@ -9,7 +9,6 @@ Literature dealing with the network protocols:
DHCP - RFC2131, RFC2132 (options)
TFTP - RFC1350, RFC2347 (options), RFC2348 (blocksize), RFC2349 (tsize)
RPC - RFC1831, RFC1832 (XDR), RFC1833 (rpcbind/portmapper)
NFS - RFC1094, RFC1813 (v3, useful for clarifications, not implemented)
IGMP - RFC1112
**************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion src/core/settings.c
Expand Up @@ -1426,7 +1426,7 @@ struct setting filename_setting __setting = {
/** Root path setting */
struct setting root_path_setting __setting = {
.name = "root-path",
.description = "NFS/iSCSI root path",
.description = "iSCSI root path",
.tag = DHCP_ROOT_PATH,
.type = &setting_type_string,
};
Expand Down
63 changes: 0 additions & 63 deletions src/include/nfs.h

This file was deleted.

0 comments on commit 1548189

Please sign in to comment.