LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-18-2013, 12:38 PM   #1
ankit_singh
LQ Newbie
 
Registered: Mar 2013
Posts: 20

Rep: Reputation: Disabled
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
 
Old 04-22-2013, 08:59 AM   #2
Sigg3.net
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: Reputation: 28
What GNU/Linux distribution are you using? This could probably be done without resorting to compiling kernel modules..?
 
Old 04-22-2013, 09:02 AM   #3
ankit_singh
LQ Newbie
 
Registered: Mar 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Am usind Red Hat
Kernel Version :- 2.6.34.14
 
Old 04-22-2013, 10:19 AM   #4
Sigg3.net
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: Reputation: 28
The following shows you how to setup NFS v4 without compiling kernel modules.
http://www.cyberciti.biz/faq/centos-...configuration/

Should get you started
 
Old 04-22-2013, 12:17 PM   #5
ankit_singh
LQ Newbie
 
Registered: Mar 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Actually i need to implement NFSv4 client for UEFI, so wanted to understand NFSv4 from Linux Kernel code...!!!
 
Old 04-23-2013, 03:53 AM   #6
Sigg3.net
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: Reputation: 28
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)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Makefile:24: *** Linux kernel source not found. Stop. tkmsr Fedora 5 01-12-2011 02:19 AM
Makefile and compiling the linux kernel ayoub Linux - Newbie 0 12-02-2005 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration