Resending the email. Seems like it bounced back. > -----Original Message----- > From: Tayade, Nilesh > Sent: Thursday, September 09, 2010 5:55 PM > To: linux-nfs@xxxxxxxxxxxxxxx > Subject: How to get the file path from file handle - NFS. > > Hi, > > I seek some pointers on how to obtain the file path from the file > handle. The NFS protocol exchange the file handle between the Server > and Client. > I want to extract the file path at client side from the available > file handle. > > I went through some of the reference documents. It say- > The mapping exists in /var/nfs/fhpath or /etc/default/nfslogd files. > And can be configured through /etc/nfs/nfslog.conf. > http://docstore.mik.ua/orelly/networking_2ndEd/nfs/ch14_06.htm > > But essentially I am looking forward extracting it through > application C code (may be getting the pointer to the hash table > etc.)- the reason being I want to avoid file open, read operations > (on the nfslogd file) due to performance issue. > > Could someone please advice if it is possible to extract it through > some structure? Can we directly try to read the mapping hash table > at client side? > > > -- > Thanks, > Nilesh > x46222 > Yahoo IM: nilesh_tayade85 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html