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

=?iso-8859-1?Q?Johnny_Teve=DFen?= (j.tevessen@gmx.net)
Wed, 23 Dec 1998 17:15:50 +0100


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.

johnny

-- 
Trust no-one.

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