Messages in this thread | | | Subject | Re: Reading empty file (was: Re: /dev/full) | Date | Thu, 24 Dec 1998 12:57:29 -0400 | From | Horst von Brand <> |
| |
"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/
| |