Re: How to get the file path from file handle - NFS.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 09, 2010 at 08:24:40AM -0400, Tayade, Nilesh wrote:
> 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

Looks like a Solaris thing?  This isn't the right list for that.

--b.

> 
> 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
--
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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux