On Sun, 18 Mar 2001, Matt Dillon wrote:
> You could certainly write a program to sit in the middle and cache
> the request to handle that case.
>
> The problem with portalfs is that you can't 'cd' into it or do
> directory operations on it, and filesystem operations such as lseek
:I don't really think that portalfs is the right thing to use to build
:an httpfs with, but I would like to see how you managed to get your example
:to work. Are you using stdout to create an anonymous file handle? What happens
:if two processes concurrently read from /p/http/*?
:
:Duncan
:
:--
:
On Sat, Mar 17, 2001 at 05:03:42PM +0100, Dag-Erling Smorgrav wrote:
> Peter Pentchev <[EMAIL PROTECTED]> writes:
> > On Sat, Mar 17, 2001 at 04:53:34PM +0100, Dag-Erling Smorgrav wrote:
> > > Peter Pentchev <[EMAIL PROTECTED]> writes:
> > > > There was at the time - socketpair(2) had totally slip
On 17-Mar-01 Peter Pentchev wrote:
> Actually, I want socketpair(2). pipe(2) was what I used before,
> and that's the reason I had a read-only file descriptor - the portalfs
> architecture allows for only one fd to be returned, and pipe(2)
> provides a one-way pipe. I dup2'd stdout and stde
Peter Pentchev <[EMAIL PROTECTED]> writes:
> On Sat, Mar 17, 2001 at 04:53:34PM +0100, Dag-Erling Smorgrav wrote:
> > Peter Pentchev <[EMAIL PROTECTED]> writes:
> > > There was at the time - socketpair(2) had totally slipped my mind ;)
> > Umm, you want pipe(2), not socketpair(2).
> Actually, I wa
On Sat, Mar 17, 2001 at 04:53:34PM +0100, Dag-Erling Smorgrav wrote:
> Peter Pentchev <[EMAIL PROTECTED]> writes:
> > There was at the time - socketpair(2) had totally slipped my mind ;)
>
> Umm, you want pipe(2), not socketpair(2).
Actually, I want socketpair(2). pipe(2) was what I used before
Peter Pentchev <[EMAIL PROTECTED]> writes:
> There was at the time - socketpair(2) had totally slipped my mind ;)
Umm, you want pipe(2), not socketpair(2).
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the bo
On Fri, Mar 16, 2001 at 05:46:49AM +, Tony Finch wrote:
> Peter Pentchev <[EMAIL PROTECTED]> wrote:
> >
> >What I did was implement an 'exec' portal method, which executes a program
> >with given arguments, obtained from the path components and portal.conf
> >rules, and returns a - basically r
Peter Pentchev <[EMAIL PROTECTED]> wrote:
>
>What I did was implement an 'exec' portal method, which executes a program
>with given arguments, obtained from the path components and portal.conf
>rules, and returns a - basically read-only - descriptor connected to its
>stdout and stderr. Kind of si
On Thu, Mar 15, 2001 at 10:38:21AM -, Duncan Barclay wrote:
> Hi
>
> A thing to keep in mind about the portal file system is that it
> designed to provide a means of getting a file handle to an object that
> could be obtained by a call to open(2). It does not then provide
> a means of reading
Hi
A thing to keep in mind about the portal file system is that it
designed to provide a means of getting a file handle to an object that
could be obtained by a call to open(2). It does not then provide
a means of reading/writing etc. to that object.
If you take a look at the example portal.conf
I'd say it would be an excellent example of how to use portals if
nothing else, given that almost nobody understands them. :)
- Jordan
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Sat, Mar 10, 2001 at 03:15:15AM -0800, Kris Kennaway wrote:
> A few of us were talking on IRC tonight about how cool it would be to
> have an httpfs filesystem -- then it occurred to me we almost have
> this already, in the form of the (under-utilised) portalfs. Portalfs
> works by handing off
On 2001-03-10 13:36 -0500, Robert Watson <[EMAIL PROTECTED]> wrote:
> On Sat, 10 Mar 2001, Kris Kennaway wrote:
>
> > A few of us were talking on IRC tonight about how cool it would be to
> > have an httpfs filesystem -- then it occurred to me we almost have
> > this already, in the form of the (
I need not remind you that file systems front-ending onto random protocols
are a bad idea for a huge number of reasons :-).
That said, you might take a look at Intermezzo, which someone has already
refered to indirectly in response to your e-mail -- Intermezzo is a file
system for Linux (based o
On Mar 10, Kris Kennaway wrote:
> A few of us were talking on IRC tonight about how cool it would be to
> have an httpfs filesystem -- then it occurred to me we almost have
> this already, in the form of the (under-utilised) portalfs. Portalfs
> works by handing off everything to a userland daemo
I don't have a link handy, but if you search for it, I'm sure it's out
there. Linux had something like this called PerlFS which was much more
generic. The general gist of it was you could use it to make fs's of
things like http and ftp. It was extendable (I think) so you could make
your own fs han
17 matches
Mail list logo