Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751452AbXBMXgo (ORCPT ); Tue, 13 Feb 2007 18:36:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751456AbXBMXgo (ORCPT ); Tue, 13 Feb 2007 18:36:44 -0500 Received: from mail.fieldses.org ([66.93.2.214]:59028 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751452AbXBMXgn (ORCPT ); Tue, 13 Feb 2007 18:36:43 -0500 Date: Tue, 13 Feb 2007 18:36:42 -0500 To: Trond Myklebust Cc: Menny Hamburger , linux-kernel@vger.kernel.org Subject: Re: Getting the nfs_fh of a specific file/dir from the kernel Message-ID: <20070213233642.GB19243@fieldses.org> References: <1171408381.6031.1.camel@heimdal.trondhjem.org> <20070213231652.GA19243@fieldses.org> <1171408780.6031.2.camel@heimdal.trondhjem.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1171408780.6031.2.camel@heimdal.trondhjem.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: "J. Bruce Fields" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1029 Lines: 25 On Tue, Feb 13, 2007 at 03:19:40PM -0800, Trond Myklebust wrote: > On Tue, 2007-02-13 at 18:16 -0500, J. Bruce Fields wrote: > > On Tue, Feb 13, 2007 at 03:13:01PM -0800, Trond Myklebust wrote: > > > On Sun, 2007-02-11 at 10:06 +0200, Menny Hamburger wrote: > > > > We implement our own nfsd in user space - so the kernel nfsd (as well > > > > as the lockd) are disabled. > > > > We need the handle in order to associate a kernel file handle with our > > > > own file id. > > > > > > Filehandles are not part of any API that is exported to userland. > > > > /proc/fs/nfsd/filehandle ??? > > That is only the information needed by mountd. It should not be usable > for opening random files etc. Oh, right--I guess it only gives filehandles for export roots--I'd missed that. --b. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/