lkml.org 
[lkml]   [1998]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [OFFTOPIC] Reading empty file (was: Re: /dev/full)
Date
From
=?iso-8859-1?Q?Johnny_Teve=DFen?= <j.tevessen@gmx.net> said:
> Quoting Horst von Brand (vonbrand@inf.utfsm.cl):
> > =?iso-8859-1?Q?Johnny_Teve=DFen?= <j.tevessen@gmx.net> said:

> mmh.. nice. 8)

> > > Well, that's actually what I use it for: To have a "file" that gives you
> > > 0 bytes and then EOF when read from.

> > And /dev/null?

> /dev/full sounded more logical to me, so I tried this one first. It worked.
> Reading from /dev/null sounds.. more strange.

It's not strange, it's what /dev/null is for. /dev/full isn't as widespread
as /dev/null is.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

-
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.066 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site