lkml.org 
[lkml]   [1999]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectNFS development questions.
Date
Hi,

I plan to build a variant of NFS on Linux. First, I made a client
by changing name symbols of NFS client and convert it as a loadable
module. Actually it is a NFS client with a different name, but I
could not mount it to a NFS server. It seems that the "mount" routine
could not tell it is a NFS like device and get the file handle from
the network, I read through the "strace" trace and drew the above
conclusion.

Can someone tell me how a "mount" for NFS works, how the system tell the
device is a network address and invoke RPC routine. What's the path of
related source code? How it is done to convert a NFS client from a loadable
module to compiled in kernel? Besides convenience, is there any other
consideration to move the NFS components inside kernel permanently?

regards,

Xiangping


-----Original Message-----
From: Alan Cox [mailto:alan@lxorguk.ukuu.org.uk]
Sent: Thursday, July 08, 1999 3:06 PM
To: pavel@atrey.karlin.mff.cuni.cz
Cc: alan@lxorguk.ukuu.org.uk; jgg@ualberta.ca;
Matthew.Wilcox@genedata.com; linux-kernel@vger.rutgers.edu
Subject: Re: Loop Devices over NFS don't work?


> > You could fall back to read/write in theory. There is an interesting
project
> > for you 8)
>
> Really? Think about deadlocks. Both nbd and loop are _evil_. Mount
> sparse file over loopback, then write to both filessytems in heavy way
> to see why. THIS IS NOT EASY.

Note the use of the word "interesting". I think it is quite doable. I don't
think it is at all trivial


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.134 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site