Re: Why side-effects on open(2) are evil. (was Re: [RFD w/info-PATCH]device arguments from lookup)

Alexander Viro
2001-05-19T15:19:17Z

On Sat, 19 May 2001, Abramo Bagnara wrote:

> Can't this easily avoided if the needed action is not
>
> < /dev/zero/start_nuclear_war
> or
> > /dev/zero/start_nuclear_war
>
> but
>
> echo "I'm evil" > /dev/zero/start_nuclear_war

Sure. And that's the right thing to do (not the implied action, that is -
_that_ would be too messy).