[Labeled-nfs] Need some help on the internal working of NFS
Ramakrishna
sramu28 at rediffmail.com
Wed Nov 28 07:19:51 EST 2007
Hi all,Iam working on a small project related to NFS. In my application i need to watch out
what is being read or written by the client.I studied the NFS documentation. The client can
write data to the file only using the write procedure of the NFS program. Similarly, it can
read only through the read procedure. I tried to do based on this assumption. Whatever
client writes goes to the server in awrite command. It was fine. But, when client reads data
not always read procedure is used to read the data from the server.I mounted a directory of
the server on my client. After that I could track what all iam writing( data written into a
file, not anyother information) to the directory by  simply tracking the write
procedure calls. I used ethereal to capture the packets and analyse.But when it reads not
always read procedure is used. When i open a file(small file) and analyse the packets
through ethereal,  sometimes read procedure is not at all called but the file is
opened and the data is shown. How the client gets the data without calling the read
procedure?Help me out.Thanks Ramu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/labeled-nfs/attachments/20071128/589ec649/attachment.htm
More information about the Labeled-nfs
mailing list