Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-18-2013, 01:38 PM
|
#1
|
LQ Newbie
Registered: Mar 2013
Posts: 20
Rep: 
|
Linux Kernel NFS makefile help..!!!!
Hello,
Am new to Linux Kernel code and the way it compiles, actually i was trying compile NFS as a module.
The makefile is below but its compiling files only for nfs-y and not for others (i wanted NFSv4 files to be compiles).
******************************************************
#
# Makefile for the Linux nfs filesystem routines.
#
obj-$(CONFIG_NFS_FS) += nfs.o
nfs-y := client.o dir.o file.o getroot.o inode.o super.o nfs2xdr.o \
direct.o pagelist.o proc.o read.o symlink.o unlink.o \
write.o namespace.o mount_clnt.o \
dns_resolve.o cache_lib.o
nfs-$(CONFIG_ROOT_NFS) += nfsroot.o
nfs-$(CONFIG_NFS_V3) += nfs3proc.o nfs3xdr.o
nfs-$(CONFIG_NFS_V3_ACL) += nfs3acl.o
nfs-$(CONFIG_NFS_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \
delegation.o idmap.o \
callback.o callback_xdr.o callback_proc.o \
nfs4namespace.o
nfs-$(CONFIG_SYSCTL) += sysctl.o
nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
******************************************************
Actually i want to have mount and transfer file over NFSv4.
Regards,
Ankit Singh
|
|
|
04-22-2013, 09:59 AM
|
#2
|
Member
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173
Rep:
|
What GNU/Linux distribution are you using? This could probably be done without resorting to compiling kernel modules..?
|
|
|
04-22-2013, 10:02 AM
|
#3
|
LQ Newbie
Registered: Mar 2013
Posts: 20
Original Poster
Rep: 
|
Am usind Red Hat
Kernel Version :- 2.6.34.14
|
|
|
04-22-2013, 11:19 AM
|
#4
|
Member
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173
Rep:
|
The following shows you how to setup NFS v4 without compiling kernel modules.
http://www.cyberciti.biz/faq/centos-...configuration/
Should get you started 
|
|
|
04-22-2013, 01:17 PM
|
#5
|
LQ Newbie
Registered: Mar 2013
Posts: 20
Original Poster
Rep: 
|
Actually i need to implement NFSv4 client for UEFI, so wanted to understand NFSv4 from Linux Kernel code...!!!
|
|
|
04-23-2013, 04:53 AM
|
#6
|
Member
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173
Rep:
|
Okay, then I'm not sure  Are you talking about netbooting (using PXE in Bios/Uefi and a NFS v4 share on the server hosting the images)?
|
|
|
All times are GMT -5. The time now is 09:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|