Thread View: comp.os.linux.networking
1 messages
1 total messages
Started by George Savvides
Thu, 24 May 2001 06:27
translate NFS filehandle -> pathname without ncheck inode?
Author: George Savvides
Date: Thu, 24 May 2001 06:27
Date: Thu, 24 May 2001 06:27
15 lines
1899 bytes
1899 bytes
I need to extrapolate the pathname to a file from an NFS file handle. What I have available are the regular NFS calls, as well as the standard Unix/Linux filesystem commands. The only way to do this that I have come up with so far is: -use GETATTR to get the file attributes corresponding to the file handle from NFS -figure out the inode from the file attributes -run ncheck to resolve the pathname. The problem is that ncheck is a prohibitively expensive operation (takes forever), and the application that I need it for makes such calls quite frequently. Are there any alternative ways to do this in Linux, Unix or BSD?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads