Hi,
On Thu, 17 Feb 2000 13:07:08 +0100 (MET), Werner Almesberger
<almesber@lrc.di.epfl.ch> said:
> IMHO, seeking to non-zero positions in /proc is a little bogus anyway,
> because many files have sufficiently variable content that you can't
> really tell where you might end up.
> Would be nice if once could flag /proc as non-seekable and make them
> appear as pipes, though.
Seeking to zero should always be allowed. Seeking elsewhere is of value
in certain cases, but seeking to the start allows rereading of a file
for fresh stats without having to do an open/close cycle.
--Stephen
-
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/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:21 EST