Re: NFS and fifos.

From: Willy Tarreau
Date: Sat Jul 16 2005 - 13:06:51 EST


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.

Willy

-
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/