Re: NFS and fifos.

From: Jesper Juhl
Date: Sat Jul 16 2005 - 15:49:13 EST


On 7/16/05, Willy Tarreau <willy@xxxxxxxxx> wrote:
> On Sat, Jul 16, 2005 at 11:25:01PM +0530, Dhruv Matani wrote:
> > On 7/16/05, Jesper Juhl <jesper.juhl@xxxxxxxxx> wrote:
> > > On 7/16/05, Dhruv Matani <dhruvbird@xxxxxxxxx> wrote:
> > > > On 7/16/05, Arvind Kalyan <base16@xxxxxxxxx> wrote:
> > > > > On 7/16/05, Dhruv Matani <dhruvbird@xxxxxxxxx> wrote:
> > > > > > Hello,
> > > > > > I can't seem to be able to use fifos on an NFS mount. Is there any
> > > > > > reason why this is disallowed, or is this is a bug? v.2.4.20.
> > > > >
> > > > > Are both the processes (reader/writer) on the same machine? FIFOs are
> > > > > local objects.
> > > >
> > > > Yes, but I'm accessing them through my remote[public] IP address.
> > > > The idea behind it is to have a fifo that works across the network
> > > > through an NFS mount. Is that possible?
> > > >
> > > > I serched google for 'socket file', and all that I got was 'fifo', but
> > > > they are to be used only on a singl machine for communication between
> > > > 2 or more applications, but couldn't find any file abstraction for
> > > > communication for processes on distinct machines. Do you know of any
> > > > such thing, cause I couldn't find any.
> > > >
> > >
> > > sockets.
> >
> > Are sockets named files?
>
> Unix sockets, yes. Look at /dev/log or /tmp/.X11-unix/X0 for example.
> But they are local anyway, you cannot use them between two systems.
>
And for communicating between two systems TCP or UDP sockets work just fine.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/