[nylug-talk] questions about /dev/null

Peter C. Norton spacey-nylug at lenin.net
Mon Nov 5 17:11:31 EST 2007


On Mon, Nov 05, 2007 at 04:55:51PM -0500, Alex Pilosov wrote:
> On Mon, 5 Nov 2007, Peter C. Norton wrote:
> 
> > Yes, you're right, I'm glossing over the pipe size as part of the
> > context switch overhead and the overhead of what I believe to be a
> > shortcut to /dev/null behavior on various platforms eg on solaris I
> > believe I've seen times that make it appear that dd doesn't appear to
> > even bother to read the file, it just returned. However, I can't
> > reproduce that behavior now, so now I have to attribute it to sleep
> > deprivation memories.
> i bet 100$ against a peanut that it doesn't happen on any unix in past 20 
> years.
> 
> -alex
> 

No bet, until/unless I can confirm what my sleep-deprived mind
remembered :)

-Peter


-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.



More information about the nylug-talk mailing list