lkml.org 
[lkml]   [1998]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Reading empty file (was: Re: /dev/full)
Date
From
"James H. Cloos Jr." <cloos@jhcloos.com> said:

> Nope. Fuzzy Fox <fox@dallas.net> had it right; reading from /dev/full
> is the same as reading from /dev/zero:

Irrelevant for the original purpose. /dev/null is _guaranteed_ to be there,
/dev/zero almost always is, /dev/full isn't normally found. And for the
purpose of writing scripts/programs the only generally usefull one is
/dev/null.

Please don't forget portability, there are non-linux systems out there.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616

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

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.058 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site