Subject: Re: NFS filehandle <-> local file descriptor ?
To: Frank van der Linden <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 04/10/2000 15:48:31
On Mon, Apr 10, 2000 at 03:18:21PM +0200, Frank van der Linden wrote:
> 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.
That should do it, thanks !!
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr