Subject: Re: NFS filehandle <-> local file descriptor ?
To: None <,>
From: Jason R Thorpe <>
List: tech-userlevel
Date: 04/10/2000 07:40:38
On Mon, Apr 10, 2000 at 03:04:53PM +0200, Manuel Bouyer wrote:

 > Hi,
 > I'm looking at writing the server side of rpc.lockd.
 > In order to properly implement this I need to be able to map back the
 > filehandle sent by the client to the local file to lock (via flock or fnctl).
 > I just need a file descriptor, I don't need the real path.
 > Is there a way to do this from userland ?

Yes!  fhopen(2)!  :-)

        -- Jason R. Thorpe <>