From owner-freebsd-hackers Mon Jun 24 19:59:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 9FB7537B50B for ; Mon, 24 Jun 2002 19:59:05 -0700 (PDT) Received: from pool0555.cvx21-bradley.dialup.earthlink.net ([209.179.194.45] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17MgXk-0005Uw-00; Mon, 24 Jun 2002 19:59:00 -0700 Message-ID: <3D17DC4E.F802447E@mindspring.com> Date: Mon, 24 Jun 2002 19:58:22 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon Cc: Harry Newton , freebsd-hackers@FreeBSD.ORG Subject: Re: status of portalfs References: <86adpkih9j.fsf@basilisk.locus> <3D179464.4538513D@mindspring.com> <200206242233.g5OMXHl8000378@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > > Actually Terry is wrong here :-) Sorry Terry. The portal filesystem > is not really a filesystem. All it can do is intercept open()s and > return descriptors. It isn't like NULLFS. The portal filesystem > does not do any layering at all. open() does not return a portalfs > descriptor. > > What portalfs does is connect to a unix domain socket (aka a userland > process) and then it expects a control message to sent to it with > a descriptor (like to a normal file or a TCP socket or whatever). It > then returns the descriptor directly. You're right. The code is all different here from what it was originally. Originally, you were supposed to be able to treat a program as a file, and not have to do the socket passing around. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message