Subject: Re: NFS filehandle <-> local file descriptor ?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Frank van der Linden <frank@wins.uva.nl>
List: tech-kern
Date: 04/10/2000 15:18:21
On Mon, Apr 10, 2000 at 03:04:53PM +0200, Manuel Bouyer wrote:
> 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 ?
fhopen(2) will do this for you.
- Frank