Re: Location of shmfs; devfs automagics

From: Peter Samuelson (peter@cadcamlab.org)
Date: Wed Apr 05 2000 - 08:55:05 EST


[wingel@t1.ctrl-c.liu.se]
> [1] Actually /dev/null might be a bad choice since I've seen
> applications that go berzerk when select() always returns
> immediately but the application doesn't know how to cope
> with EOF on standard input.

Since when would an application not cope with EOF on standard input?
What do they do, `while (not_enough_input_yet) scanf()'? They deserve
to lose.

> A device that just does nothing (don't produce any data, just
> throw away any data that it gets and never return EOF) might be
> better.

You'll still break applications -- what if they open it in blocking
mode?

Peter

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



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:14 EST