Re: Re: size of files in /proc

Edmond E. Shwayri (linker@nightshade.ml.org)
Sat, 23 May 1998 00:03:15 -0400 (EDT)


On Fri, 22 May 1998, Jeffrey B. Siegal wrote:

> >If /proc gave bogus values for the size, instead of 0, then programs that
> >rely on the size would *irregularly, erratically, and unpredictably* give
> >wrong results, depending on the relationship of the real size to the reported
> >size.
>
> Forgive me if this has been discussed before, but why are the files in /proc
> (many of which do not have a defined, fixed, length) regular files? Why not
> character devices?

Character devices require device numbers, named pipes would be more
accurate.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu