Re: [OFFTOPIC] Reading empty file (was: Re: /dev/full)

Horst von Brand (vonbrand@inf.utfsm.cl)
Wed, 23 Dec 1998 14:36:37 -0300


=?iso-8859-1?Q?Johnny_Teve=DFen?= <j.tevessen@gmx.net> said:
> Quoting Horst von Brand (vonbrand@inf.utfsm.cl):
> > =?iso-8859-1?Q?Johnny_Teve=DFen?= <j.tevessen@gmx.net> said:

> mmh.. nice. 8)

> > > Well, that's actually what I use it for: To have a "file" that gives you
> > > 0 bytes and then EOF when read from.

> > And /dev/null?

> /dev/full sounded more logical to me, so I tried this one first. It worked.
> Reading from /dev/null sounds.. more strange.

It's not strange, it's what /dev/null is for. /dev/full isn't as widespread
as /dev/null is.

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/