LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Linux Kernel NFS makefile help..!!!! (https://www.linuxquestions.org/questions/linux-networking-3/linux-kernel-nfs-makefile-help-4175458657/)

ankit_singh 04-18-2013 12:38 PM

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

Sigg3.net 04-22-2013 08:59 AM

What GNU/Linux distribution are you using? This could probably be done without resorting to compiling kernel modules..?

ankit_singh 04-22-2013 09:02 AM

Am usind Red Hat
Kernel Version :- 2.6.34.14

Sigg3.net 04-22-2013 10:19 AM

The following shows you how to setup NFS v4 without compiling kernel modules.
http://www.cyberciti.biz/faq/centos-...configuration/

Should get you started:)

ankit_singh 04-22-2013 12:17 PM

Actually i need to implement NFSv4 client for UEFI, so wanted to understand NFSv4 from Linux Kernel code...!!!

Sigg3.net 04-23-2013 03:53 AM

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 05:59 PM.