Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 19:58:22 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Harry Newton <harry_newton@telinco.co.uk>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: status of portalfs
Message-ID:  <3D17DC4E.F802447E@mindspring.com>
References:  <86adpkih9j.fsf@basilisk.locus> <3D179464.4538513D@mindspring.com> <200206242233.g5OMXHl8000378@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D17DC4E.F802447E>