Subject: Re: NFS filehandle <-> local file descriptor ?
To: None <email@example.com, firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 04/10/2000 07:40:38
On Mon, Apr 10, 2000 at 03:04:53PM +0200, Manuel Bouyer wrote:
> 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 <firstname.lastname@example.org>