Re: Reading empty file (was: Re: /dev/full)

Fuzzy Fox (fox@dallas.net)
Wed, 23 Dec 1998 11:59:50 -0600


Horst von Brand <vonbrand@inf.utfsm.cl> wrote:
>
> > /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.

Reading from /dev/null gives immediate EOF. Reading from /dev/full
gives the same results as reading from /dev/zero.

-- 
   fox@dallas.net (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown

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